Folder to compile & build exe [SOLVED]
-
I keep my project file on a usb disk, and install Qt on whatever computer I am using. My problem is that it runs in Qt, but I can't find where the executable is hiding. I'm not having trouble with DLL's at all, just trying to set the directory for the exe file. Thanks for any help!
-
What do you mean with install Qt?
Just installing the Qt ddls or the whole development environment?
-
I install a fresh dev environment, and then use it to compile the project on the flash drive.
-
Probably you cannot work with a shadow build because your usb drive will be on different locations.
If you have a shadow build folder, there should be in general the exe in your release or debug folder.
You can redirect the executable to other folder by using "DESTDIR":http://doc.qt.io/qt-5/qmake-variable-reference.html#destdir in your .pro file. -
Also, it is best to delete the *.pro.user file before you load the project in a different computer. That file contains machine-specific settings.