We cannot add none exist files to bundle through QMAKE_BUNDLE_DATA. That's why

we must do this manually.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-11-18 16:46:36 +02:00
parent ba19d4e88e
commit 42bd8b86f7

View File

@ -206,8 +206,8 @@ macx{
templates.files = $$INSTALL_STANDARD_TEMPLATES templates.files = $$INSTALL_STANDARD_TEMPLATES
# Copy to bundle standard measurements files # Copy to bundle standard measurements files
diagrams.path = $$RESOURCES_DIR/ # We cannot add none exist files to bundle through QMAKE_BUNDLE_DATA. That's why we must do this manually.
diagrams.files = $${OUT_PWD}/$${DESTDIR}/diagrams.rcc forceCopyToDestdir($${OUT_PWD}/$${DESTDIR}/diagrams.rcc, $$shell_path($${OUT_PWD}/$$DESTDIR/$${TARGET}.app/$$RESOURCES_DIR/))
format.path = $$RESOURCES_DIR/ format.path = $$RESOURCES_DIR/
format.files = $$PWD/../../../dist/macx/measurements.icns format.files = $$PWD/../../../dist/macx/measurements.icns
@ -216,7 +216,6 @@ macx{
templates \ templates \
standard \ standard \
libraries \ libraries \
diagrams \
format format
} }