How to make binary distribution of Qt application for Linux

后端 未结 8 935
小蘑菇
小蘑菇 2020-12-13 20:36

I am developing cross-platform Qt application. It is freeware though not open-source. Therefore I want to distribute it as a compiled binary.

On windows there is no

8条回答
  •  鱼传尺愫
    2020-12-13 21:33

    You can also distribute Qt shared libraries on Linux. Then, get your software to load those instead of the system default ones. Shared libraries can be over-ridden using the LD_LIBRARY_PATH environment variable. This is probably the simplest solution for you. You can always change this in a wrapper script for your executable.

    Alternatively, just specify the minimum library version that your users need to have installed on the system.

提交回复
热议问题