diff --git a/app/Info.plist b/app/Info.plist new file mode 100644 index 00000000..3704d9e0 --- /dev/null +++ b/app/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleExecutable + moonlight-qt + CFBundleGetInfoString + Created by Qt/QMake + CFBundleIconFile + macos + CFBundleIdentifier + com.yourcompany.moonlight-qt + CFBundlePackageType + APPL + CFBundleSignature + ???? + LSMinimumSystemVersion + 10.10 + NOTE + This file was generated by Qt/QMake. + NSPrincipalClass + NSApplication + NSSupportsAutomaticGraphicsSwitching + + + diff --git a/app/app.pro b/app/app.pro index 0cc3f6e2..4f1a71b0 100644 --- a/app/app.pro +++ b/app/app.pro @@ -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 +} diff --git a/app/res/macos.icns b/app/res/macos.icns new file mode 100644 index 00000000..14f52900 Binary files /dev/null and b/app/res/macos.icns differ