diff --git a/src/Info.plist b/src/Info.plist new file mode 100644 index 000000000..0ff366e76 --- /dev/null +++ b/src/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleIconFile + @ICON@ + CFBundlePackageType + APPL + CFBundleGetInfoString + Created by Qt/QMake + CFBundleSignature + @TYPEINFO@ + CFBundleExecutable + @EXECUTABLE@ + CFBundleIdentifier + com.qupzilla.QupZilla + + CFBundleDevelopmentRegion + English + CFBundleName + QupZilla + CFBundleDisplayName + QupZilla + + NOTE + This file was generated by Qt/QMake. + + diff --git a/src/data/icons/exeicons/qupzilla.icns b/src/data/icons/exeicons/qupzilla.icns new file mode 100644 index 000000000..cc7278a08 Binary files /dev/null and b/src/data/icons/exeicons/qupzilla.icns differ diff --git a/src/src.pro b/src/src.pro index 7f8010b48..231ef41bb 100644 --- a/src/src.pro +++ b/src/src.pro @@ -24,7 +24,6 @@ win32:DEFINES += W7API unix:QT += dbus win32:RC_FILE = appicon.rc win32:LIBS += User32.lib Ole32.lib Shell32.lib ShlWapi.lib Gdi32.lib ComCtl32.lib - ##It won't compile on windows with this define. Some bug in qtsingleapp / qvector template !win32: !CONFIG(debug, debug|release): DEFINES += QT_NO_DEBUG_OUTPUT @@ -357,10 +356,16 @@ RESOURCES += \ data/data.qrc OTHER_FILES += \ - appicon.rc + appicon.rc \ + Info.plist include(3rdparty/qtsingleapplication.pri) +mac { + QMAKE_INFO_PLIST = Info.plist + ICON = data/icons/exeicons/qupzilla.icns +} + unix { d_prefix = $$(QUPZILLA_PREFIX) binary_folder = /usr/bin