[solved] run Qt Application outside Creator on WindowsXP ?
General and Desktop
4
Posts
2
Posters
1.2k
Views
1
Watching
-
Hi, on the same PC as you have QtCreator installed, one way is to open a CMD window and run the qtenv2.bat file in C:\Qt\5.2.1\mingw48_32\bin (or similiar directory). Then you can start your Qt app from the CMD window.
If you want to run your Qt app on another PC without Qt installed, it's slightly more involved :-)
-
Sure, you can build a static lib so that you have only one .exe file to install, but easiest is just to compile your app in release mode, then copy the needed Qt .dlls together with your .exe file to the other PC.
Which files etc. you can see for example in "JKSH's guide":http://qt-project.org/wiki/Deploy_an_Application_on_Windows or in my "blog post":http://www.tripleboot.org/?p=138