[Qt-interest] Creating installer for Qt 4.5 based application on windows

Mike Jackson imikejackson at gmail.com
Thu Nov 12 15:11:24 CET 2009


On 2009-11-10 08:20:31 -0500, "Christopher Rasch-Olsen Raa" 
<christopher at technophile.info> said:

> 
> 
> On Tuesday 10 November 2009 14:12:18 Manish Chakravarty wrote:
>> Hey ,
>> 
>> I have created a Qt application ( I develop primarily on MacOS )
>> I have a windows VM where I build/test the app for windows.
>> 
>> The app is now ready and I have to now ship the application to the
>> customer. I want to package the application and distribute it with an
>> installer. What would be the quickest/nicest approach for this?
>> 
>> I've already gone through
>> http://doc.trolltech.com/4.5/deployment-windows.html#application-dependenci
>> esand it doesnt help me much :(
>> I'm facing a problems similar to
>> http://stackoverflow.com/questions/622418/how-to-deploy-a-qt-application
>> http://qt.nokia.com/developer/faqs/why-does-a-statically-built-qt-use-the-d
>> ynamic-visual-studio-runtime-libraries-do-i-need-to-deploy-those-with-my-ap
>> plicationalso does not seem to help much.
>> 
>> What approaches do you use and which one(s) would you recommend?
>> 
> 
> Link dynamicly and wrap it all in an installer created with eg. NSIS, BitRock
> or something similar? Works pretty well for us here.

CMake + CPack + NSIS works extremely well and is integrated into the 
workflow. You will get a "PACKAGE" project in your Visual Studio 
solution which you can simply "Build". This will generate a nice NSIS 
based installer. Just my 2 cents.

Mike Jackson




More information about the Qt-interest-old mailing list