Qt 4 apps on Windows are not startable from the Windows GUI
If I right-click on a binary file created using Qt in Windows, I am unable to load the program. Apparently it is missing the Qt DLLs in my source path. What do I do to correct this and isn't this a bug in the Qt installer? It should put the DLLs in the windows/system32 folder.
Re: Qt 4 apps on Windows are not startable from the Windows GUI
No, put them right next to your executable.
That's what you would normally do, with an installer, for example.
Regards
Re: Qt 4 apps on Windows are not startable from the Windows GUI
If you have Qt installed on the system, it will work by appending to the PATH env var $QTDIR/bin ( linux ), or %QTDIR%\bin (Windows).
Something like this:
PATH=$QTDIR/bin:$PATH
or:
PATH=%QTDIR%\bin;%PATH%
If you want to run it on another computer, the Qt libraries will have to be in the app directory.
Regards
Re: Qt 4 apps on Windows are not startable from the Windows GUI
I wonder if it would be possible to create a Qt 4 runtime installer which all people creating Qt 4 based programs can ask their users to download and install. GIMP on Windows has people download and install the GTK+ for Windows package. As more and more Qt 4 applications are developed for Windows, it becomes superfluous and increases the size of our packages to include the DLLs with each one of our applications.