Hi mbertrand
Bootlocal runs asynchronously in the background and depending on what's in there could complete at any time.
Adding the command to the file you created in .X.d will guarantee it occurs when you want it to. If your QT program
is an extension, you could place the command in the tce.installed script.