Measurement Diagram is not shown on Mac OS X.
--HG-- branch : release
This commit is contained in:
parent
67edc305c1
commit
82e6d271bb
|
@ -231,7 +231,7 @@ unix{
|
||||||
|
|
||||||
# Copy to bundle standard measurements files
|
# Copy to bundle standard measurements files
|
||||||
# We cannot add none exist files to bundle through QMAKE_BUNDLE_DATA. That's why we must do this manually.
|
# 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/))
|
QMAKE_POST_LINK += $$VCOPY $$quote($${OUT_PWD}/$${DESTDIR}/diagrams.rcc) $$quote($$shell_path($${OUT_PWD}/$$DESTDIR/$${TARGET}.app/$$RESOURCES_DIR/)) $$escape_expand(\\n\\t)
|
||||||
|
|
||||||
format.path = $$RESOURCES_DIR/
|
format.path = $$RESOURCES_DIR/
|
||||||
format.files = $$PWD/../../../dist/macx/measurements.icns
|
format.files = $$PWD/../../../dist/macx/measurements.icns
|
||||||
|
|
|
@ -293,6 +293,10 @@ unix{
|
||||||
icns_resources.files += $$PWD/../../../dist/macx/measurements.icns
|
icns_resources.files += $$PWD/../../../dist/macx/measurements.icns
|
||||||
icns_resources.files += $$PWD/../../../dist/Tape.icns
|
icns_resources.files += $$PWD/../../../dist/Tape.icns
|
||||||
|
|
||||||
|
# Copy to bundle standard measurements files
|
||||||
|
# We cannot add none exist files to bundle through QMAKE_BUNDLE_DATA. That's why we must do this manually.
|
||||||
|
QMAKE_POST_LINK += $$VCOPY $$quote($${OUT_PWD}/../tape/$${DESTDIR}/tape.app/$$RESOURCES_DIR/diagrams.rcc) $$quote($$shell_path($${OUT_PWD}/$$DESTDIR/$${TARGET}.app/$$RESOURCES_DIR/)) $$escape_expand(\\n\\t)
|
||||||
|
|
||||||
QMAKE_BUNDLE_DATA += \
|
QMAKE_BUNDLE_DATA += \
|
||||||
templates \
|
templates \
|
||||||
standard \
|
standard \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user