Now with an application icon for MacOS

This commit is contained in:
R. Aidan Campbell 2018-07-08 11:38:01 -07:00
commit c2966a5c66
3 changed files with 33 additions and 0 deletions

View file

@ -106,3 +106,10 @@ DEPENDPATH += $$PWD/../qmdnsengine/qmdnsengine/src/include $$PWD/../qmdnsengine
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
macx {
QMAKE_INFO_PLIST = $$PWD/Info.plist
APP_QML_FILES.files = res/macos.icns
APP_QML_FILES.path = Contents/Resources
QMAKE_BUNDLE_DATA += APP_QML_FILES
}