How to publish programs in QT under Mac

1.1: Select Release mode, compile

1.2: run macdeployqt

        For my project, the command is:

            macdeployqt /Users/Jason/Desktop/build-untitled-Desktop_5_4_0_64bit-Release/untitled.app -dmg

    

        Then go back and pack it up.

        Later, we will find that there is an additional dmg file in the app directory.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325725598&siteId=291194637