PDA

View Full Version : How to ship Qt apps?


Morea
13th June 2007, 22:23
How do you ship Qt apps, ready to run on (almost) ANY windows computer? I've tried, but one person got a crash in qtcore.dll (I think it was).
How do you do this with only mingw?

jpn
13th June 2007, 22:25
Recommended reading: Deploying Qt Applications (http://doc.trolltech.com/4.3/deployment.html). By the way, the subject has been discussed on the forums quite a few times.

IndigoJo
22nd June 2008, 13:22
My way of doing it is to use a Nullsoft installer script, which will bundle all the files you need into a self-extracting archive. There is a ready-made one here (http://catkin.svn.sourceforge.net/viewvc/*checkout*/catkin/tags/qtm-0.6.3/qtm-installer.nsi?revision=424); you will need to change the name of the app, the version number and add or remove Qt libraries as needed.

I generated that script with the HM NIS Edit (http://hmne.sourceforge.net/) program, which is an editor for Nullsoft installer scripts. It comes with a wizard which you can use to generate a script exactly like that one.