Deploying an applilcation
In order to deploy my application I have re-built my QT as static and did qmake -config release.
Now it makes standalone files which doesn't require any additional libraries to get started.
However there is one file that it still requires and that is mingwm10.dll. So in order to start my application on another computer I need to take my file AND this dll.
How can I get rid of it and get this dll include into the deployed .exe file as it did with all the other libraries? I would need to have just one .exe file, not the .exe. file + mingwm10.dll
Re: Deploying an applilcation
See our wiki: [wiki]Building static Qt on Windows[/wiki] (notice the changes applied to mkspecs) and rebuild Qt once again... ;)
Re: Deploying an applilcation
Just to add to this, I set the environment variable QMAKESPEC to win32-msvc2005, went into C:\whereverqtis\mkspecs\win32-msvc2005 and made the changes to qmake.conf as per article given by jpn. Next rebuild it Qt. This works with Visual C++ 2008 Express from a vista install.
The resulting single .exe worked on every XP and 2000 I tried it on worked.
Re: Deploying an applilcation
Thank you very much!
How do you know all that? :)
Re: Deploying an applilcation
hi! i've followed the steps in building the application and it works fine.
the problem is, when i try to build a library(.dll) it can no longer build it.
my project.pro looks like this:
Quote:
QT = gui core sql
CONFIG += qt warn_on release dll
DESTDIR = bin
OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
FORMS = ui/dialog.ui
HEADERS = src/dialogimpl.h
SOURCES = src/dialogimpl.cpp src/main.cpp
TEMPLATE = lib
please help.. thanks...