[Qt-interest] Creating installer for Qt 4.5 based application onwindows
Ross Bencina
rossb-lists at audiomulch.com
Tue Nov 10 14:57:35 CET 2009
Manish Chakravarty wrote:
>
> What approaches do you use and which one(s) would you recommend?
Hi Manish
I use Inno Setup, its free, have been using it for a long time (5+ years). It works great.
I install my App exe and all the Qt dlls in the application directory.
I also just install a copy of the MSVC runtime folder into the App directory -- which works so long as you're not using any qt plugin DLLs (because they go in separate folders and can't "see" the runtime in the App dir, which leads to breakage on machines which don't already have the runtime installed in a system wide location. hint: your dev machine has the runtime installed in a system wide location).
If you're using Qt plugins, your options are:
A. rebuild Qt dlls to statically link the plugins you need
B. install the MSVC libraries using the ms redist installer (possibly you can do this with Inno, not sure).
I recommend option B (so does MS) but I actually do option A at present (for the sqlite plugin).
Ross.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091111/4057de6c/attachment.html
More information about the Qt-interest-old
mailing list