diff --git a/dist/macx/Info.plist b/dist/macx/Info.plist new file mode 100755 index 000000000..751f78785 --- /dev/null +++ b/dist/macx/Info.plist @@ -0,0 +1,71 @@ + + + + + NSPrincipalClass + NSApplication + CFBundleIconFile + @ICON@ + CFBundlePackageType + APPL + NSHumanReadableCopyright + © 2013-2015, Valentina project + CFBundleSignature + @TYPEINFO@ + CFBundleExecutable + @EXECUTABLE@ + CFBundleIdentifier + org.valentinaproject.@EXECUTABLE@ + CFBundleShortVersionString + @SHORT_VERSION@ + CFBundleVersion + @FULL_VERSION@ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleDocumentTypes + + + CFBundleTypeRole + Editor + CFBundleTypeIconFile + @ICON@ + LSItemContentTypes + + org.valentinaproject.val + + CFBundleTypeName + Valentina pattern file + LSHandlerRank + Owner + + + CFBundleTypeRole + Editor + CFBundleTypeIconFile + measurements + LSItemContentTypes + + org.valentinaproject.vit + + CFBundleTypeName + Valentina individual measurements + LSHandlerRank + Owner + + + CFBundleTypeRole + Editor + CFBundleTypeIconFile + measurements + LSItemContentTypes + + org.valentinaproject.vst + + CFBundleTypeName + Valentina standard measurements + LSHandlerRank + Owner + + + + diff --git a/dist/macx/measurements.icns b/dist/macx/measurements.icns new file mode 100755 index 000000000..06ab5e788 Binary files /dev/null and b/dist/macx/measurements.icns differ diff --git a/src/app/valentina/valentina.pro b/src/app/valentina/valentina.pro index 81b9b0589..e37bac9ae 100644 --- a/src/app/valentina/valentina.pro +++ b/src/app/valentina/valentina.pro @@ -265,7 +265,7 @@ unix{ libraries.files += $${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}/libvpropertyexplorer.1.dylib tape.path = $$MACOS_DIR - tape.files += $${OUT_PWD}/../tape/$${DESTDIR}/tape.app + tape.files += $${OUT_PWD}/../tape/$${DESTDIR}/tape # Utility pdftops need for saving a layout image to PS and EPS formates. xpdf.path = $$MACOS_DIR @@ -274,6 +274,8 @@ unix{ # logo on macx. ICON = ../../../dist/Valentina.icns + QMAKE_INFO_PLIST = $$PWD/../../../dist/macx/Info.plist + # Copy to bundle standard measurements files standard.path = $$RESOURCES_DIR/tables/standard/ standard.files = $$INSTALL_STANDARD_MEASHUREMENTS @@ -286,13 +288,17 @@ unix{ diagrams.path = $$RESOURCES_DIR/ diagrams.files = $${OUT_PWD}/../tape/$${DESTDIR}/diagrams.rcc + format.path = $$RESOURCES_DIR/ + format.files = $$PWD/../../../dist/macx/measurements.icns + QMAKE_BUNDLE_DATA += \ templates \ standard \ libraries \ tape \ xpdf \ - diagrams + diagrams \ + format } } @@ -652,5 +658,5 @@ noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols macx{ # run macdeployqt to include all qt libraries in packet - QMAKE_POST_LINK += $$[QT_INSTALL_BINS]/macdeployqt $${OUT_PWD}/$${DESTDIR}/$${TARGET}.app + QMAKE_POST_LINK += $$[QT_INSTALL_BINS]/macdeployqt $${OUT_PWD}/$${DESTDIR}/$${TARGET}.app -executable=$${OUT_PWD}/$${DESTDIR}/$${TARGET}.app/$$MACOS_DIR/tape }