From 7c78d734b7637dd8be67666769eabb15a32d44ce Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 24 Mar 2011 23:10:04 +0000 Subject: [PATCH] [Qt] Build fix --- map/map.pro | 1 + qt/qt.pro | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/map/map.pro b/map/map.pro index a5604755e0..bdea84dccf 100644 --- a/map/map.pro +++ b/map/map.pro @@ -37,4 +37,5 @@ SOURCES += \ !iphone*:!bada* { HEADERS += qgl_render_context.hpp SOURCES += qgl_render_context.cpp + QT += opengl } diff --git a/qt/qt.pro b/qt/qt.pro index b2426342fa..20a86daa13 100644 --- a/qt/qt.pro +++ b/qt/qt.pro @@ -25,6 +25,8 @@ macx { QMAKE_POST_LINK = $${IN_PWD}/../tools/unix/process_plist.sh $${IN_PWD}/.. $$VERSION_MAJOR $$VERSION_MINOR $$PLIST_PATH # Bundle Resouces + OTHER_RESOURCES.files = ../data/about.html ../data/eula.html + OTHER_RESOURCES.path = Contents/Resources 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/basic_highres.skn ../data/symbols_48.png ../data/symbols_24.png @@ -45,9 +47,8 @@ macx { ../data/20_lohit_pa.ttf \ ../data/22_lohit_ta.ttf \ ../data/23_lohit_te.ttf - FONT_RESOURCES.path = Contents/Resources - QMAKE_BUNDLE_DATA += CLASSIFICATOR_RESOURCES SKIN_RESOURCES FONT_RESOURCES + QMAKE_BUNDLE_DATA += OTHER_RESOURCES CLASSIFICATOR_RESOURCES SKIN_RESOURCES FONT_RESOURCES } win32-g++ {