[solved] run Qt Application outside Creator on WindowsXP ?
-
Hi,
i built an Qt application with QtCreator (MingW) on WindowsXP.
What do i need to do to get it run outside the IDE ?
thx
-
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 :-)
-
Thank You
bq. slightly more
means , building static libs ?
There is no Qt-runtime available ? -
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