Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cross platform installer for Qt [closed]

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.

like image 758
Jérôme Avatar asked Dec 30 '22 01:12

Jérôme


2 Answers

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.

like image 187
Lucas Avatar answered Jan 13 '23 12:01

Lucas


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.

like image 45
Milliams Avatar answered Jan 13 '23 10:01

Milliams