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