Cross-platform installer for Qt

I am trying to find a cross-platform installer for small Qt applications.

It seems that the most popular (powerful?) Is BitRock Install Builder , but since the installer will be used at school (I am a teacher), I am looking for a free open source solution.

I would like to create an installer for a simple application on Windows, Mac and Linux.

+4
source share
5 answers

For Windows and Unix, use InstallJammer.

For Mac OS X, use the tool that comes with Qt itself: macdeployqt. Read more about this here . This application will add all the necessary frameworks and build DMG from your application in one call from the console.

If you have resource files (such as images or XML files, etc.) that you want to distribute with your application, compile them into your application directly using the Qt Resource System . This will simplify the distribution of your application on all platforms.

+5
source

I would recommend NSIS. It is easy to use, and it also integrates very well with CMake, which will be very convenient as a build system for small applications.

+2
source

For windows, I suggest:

+2
source

I assume that there is no installation for the entire platform.

For Windows and Unix, you can use InstallJammer .

For MacOSX, you need to create a dmg image. It is very simple. Read the following web page: http://www.wikihow.com/Make-a-DMG-File-on-a-Mac . Using apple script, you can configure dmg (for example, a link to the application folder in dmg).

My preference for the Win32 NSIS installer .

+1
source

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

0
source

Source: https://habr.com/ru/post/1302018/


All Articles