Deploying macOS to macOS - therecipe/qt GitHub Wiki

Regular deployment

  • Install the [official version of Qt](/therecipe/qt/wiki/Installation-on-macOS#official-version-with-iosandroid-support)

  • Deploy your application

qtdeploy build desktop

You should find your deployed application inside the deploy subfolder.

HomeBrew deployment

  • Install the [HomeBrew version of Qt](/therecipe/qt/wiki/Installation-on-macOS#homebrew-version-without-iosandroid-support)

  • Deploy your application

qtdeploy build desktop

You should find your deployed application inside the deploy subfolder.

MacPorts deployment

  • Install the [MacPorts version of Qt](/therecipe/qt/wiki/Installation-on-macOS#macports-version-without-iosandroid-support)

  • Deploy your application

qtdeploy build desktop

You should find your deployed application inside the deploy subfolder.

Nix deployment

  • Install the [Nix version of Qt](/therecipe/qt/wiki/Installation-on-macOS#nix-version-without-iosandroid-support)

  • Start the nix-shell

    nix-shell --pure -p go qt5.qtbase qt5.qtcharts qt5.qtdeclarative qt5.qtdoc qt5.qtgraphicaleffects qt5.qtimageformats qt5.qtlocation qt5.qtmacextras qt5.qtmultimedia qt5.qtquickcontrols qt5.qtquickcontrols2 qt5.qtscript qt5.qtsensors qt5.qtserialport qt5.qtspeech qt5.qtsvg qt5.qttools qt5.qttranslations qt5.qtvirtualkeyboard qt5.qtwebchannel qt5.qtwebengine qt5.qtwebsockets qt5.qtx11extras qt5.qtxmlpatterns
    
    • add qt5.qtwebkit if you want to use the webkit; then within the nix-shell export QT_WEBKIT=true
  • Deploy your application from within the nix-shell

qtdeploy build desktop

You should find your deployed application inside the deploy subfolder.