views:

319

answers:

6

I'm trying to find a cross platform installer for small Qt applications.

It looks like the most popular (powerful ?) is BitRock Install Builder, but as the installer will be used in a school (I'm a teacher), I'm looking for a free/open source solution.

I'd like to generate an installer for a simple application on Windows, Mac and Linux OS.

A: 

I have successfuly used InstallJammer for Qt programs on Linux and Windows.

rpg
A: 

I guess there is no installer for all platform.

For Windows and Unix, you can use InstallJammer.

For MacOSX you need to create a dmg image. This is very simple. Read the following web page for help : http://www.wikihow.com/Make-a-DMG-File-on-a-Mac. By using apple script you can customize dmg (like an Application folder link into the dmg).

My preference for Win32 installer is NSIS.

Patrice Bernassola
+2  A: 

For Windows and Unix, use InstallJammer.

For Mac OS X, use the tool that comes with Qt itself: macdeployqt. Read about it in more detail here. This application will add all the required frameworks and build a DMG out of your app in one call from the console.

If you have any resource files (like images, or XML files etc) that you want to distribute with your application, compile them into your application directly with the Qt resource system. This will make it easier to distribute your app, on all platforms.

Lucas
A: 

I'd like to recommend Inno Setup on windows.

Mason Chang
A: 

I'd recommend NSIS. It's simple to use and it also integrates very well with CMake which would be very suitable as a build system for small applications.

Milliams
A: 

Hi, we (BitRock) will be happy to provide you with a license for InstallBuilder for Qt for your course, just drop us an email

Daniel Lopez