Notes for myself so I don't forget how to create releases.
- Install Qt and open the project in Qt Creator
- Remove
CONFIG += debug
frommms.pro
to reduce binary size - Change the build mode from "debug" to "release"
- Build the binary from Qt Creator, run it to verify it works
- Open a Qt command prompt from the start menu
- Run:
bin\windeployqt.exe PATH\TO\BINARY
- Run the binary from file manager to verify it works
- Rename
bin
tomms
, zip up the folder, and upload it - Rename the artifact to "windows.zip" in the GitHub UI
Same as Windows, except:
- You have to install XCode first
- You have to install and configure XCode command line tools
sudo xcode-select --install
sudo xcode-select -s /Library/Developer/CommandLineTools/
- You can run
macdeployqt
from any directory - You can just zip up
mms.app
rather thanbin
- Rename the artifact to "macos.zip" in the GitHub UI