From e1d66f486fa142d484fcc61ae81e65610afa7712 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Mon, 6 Dec 2010 18:53:44 +0000 Subject: [PATCH] [Mac] Added resources into the bundle --- qt/qt.pro | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qt/qt.pro b/qt/qt.pro index c34899ddc7..9600126fd5 100644 --- a/qt/qt.pro +++ b/qt/qt.pro @@ -22,6 +22,16 @@ macx { # fix version directly in bundle's Info.plist PLIST_PATH = $${DESTDIR}/$${TARGET}.app/Contents/$${PLIST_FILE} QMAKE_POST_LINK = $${IN_PWD}/../tools/unix/process_plist.sh $${IN_PWD}/.. $$VERSION_MAJOR $$VERSION_MINOR $$PLIST_PATH + + # Bundle Resouces + CLASSIFICATOR_RESOURCES.files = ../data/classificator.txt ../data/drawing_rules.bin ../data/visibility.txt + CLASSIFICATOR_RESOURCES.path = Contents/Resources + SKIN_RESOURCES.files = ../data/basic.skn ../data/symbols_24.png \ + ../data/dejavusans_8.png ../data/dejavusans_10.png ../data/dejavusans_12.png \ + ../data/dejavusans_14.png ../data/dejavusans_16.png ../data/dejavusans_20.png \ + ../data/dejavusans_24.png + SKIN_RESOURCES.path = Contents/Resources + QMAKE_BUNDLE_DATA += CLASSIFICATOR_RESOURCES SKIN_RESOURCES } win32-g++ {