What are the dependencies that a .exe file needs to run correctly without any error in any given system??
Can these dependecies be bundled into one single executable file?
Its hard if the system does not have Qt or mingw installed.
What are the dependencies that a .exe file needs to run correctly without any error in any given system??
Can these dependecies be bundled into one single executable file?
Its hard if the system does not have Qt or mingw installed.
Please look at Dependency WalkerWhat are the dependencies that a .exe file needs to run correctly without any error in any given system??
Yes. You should build Qt and your application staticly.Can these dependecies be bundled into one single executable file?
can you elaborate on how to built the application statistically??
Static linking: http://wiki.qtcentre.org/index.php?t...c_applications
Hi,
I have read the document linked above, but if I compile qt on my machine with this
configure -static
will I afterwards be able to compile non-static programs still?
Thanks for you hints in advance
Olli
No you won't because Qt is build for static linking.
But what you could do is what I do: Build Qt twice.
First in directory ...\Qt-4.5.0-static for static linking.
Second in ...\Qt-4.5.0-dynamic for dynamically linked applications.
Your project settings have to point to the desired Qt "version".
Bookmarks