Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.18 KB

CONTRIBUTING.md

File metadata and controls

33 lines (27 loc) · 1.18 KB

Creating New Releases

Notes for myself so I don't forget how to create releases.

Windows

  1. Install Qt and open the project in Qt Creator
  2. Remove CONFIG += debug from mms.pro to reduce binary size
  3. Change the build mode from "debug" to "release"
  4. Build the binary from Qt Creator, run it to verify it works
  5. Open a Qt command prompt from the start menu
  6. Run: bin\windeployqt.exe PATH\TO\BINARY
  7. Run the binary from file manager to verify it works
  8. Rename bin to mms, zip up the folder, and upload it
  9. Rename the artifact to "windows.zip" in the GitHub UI

macOS

Same as Windows, except:

  1. You have to install XCode first
  2. You have to install and configure XCode command line tools
sudo xcode-select --install
sudo xcode-select -s /Library/Developer/CommandLineTools/
  1. You can run macdeployqt from any directory
  2. You can just zip up mms.app rather than bin
  3. Rename the artifact to "macos.zip" in the GitHub UI

Links

  1. https://doc.qt.io/qt-6/windows-deployment.html#the-windows-deployment-tool
  2. https://doc.qt.io/qt-6/macos-deployment.html#the-mac-deployment-tool
  3. https://forum.qt.io/topic/29079/solved-view-qt-command-prompt-in-windows/5