How to create exe with linked dlls for windows
I'm a newbie to Qt and I wish to create a stand-alone exe for windows. From what I understand, one has to recompile Qt itself so that all the needed dlls for a project will be contained (e.g. statically bound) within the release exe for a project. I found several help documents, like http://doc.qt.digia.com/4.1/deployment-windows.html, which describe running a configure file to start the process of rebuilding Qt:
_Before we can build our application we must make sure that Qt is built statically. To do this, go to a command prompt and type the following:
cd C:\path\to\Qt configure -static <any other options you need>__
...but I can not find any configure.exe within any of the Qt sub-directories! What am I missing here? I am using the latest 5.0 version of Qt.
Thanks in advance for any advice.
Hi and welcome to DevNet,
You have to get the sources to compile Qt and since you're using Qt 5 you can follow this "guide":http://qt-project.org/wiki/Building_Qt_5_from_Git for example
Thanks for the speedy reply...the process seems so arduous. Is there a reason that it can't be made simpler, e.g. simple option(s) from within the IDE for a stand-alone release? Does it have to do with licensing?
You can also get the sources in a zip file in the "download page":http://qt-project.org/downloads