From: Prasanth Ullattil Date: Tue, 25 Jan 2011 13:48:39 +0000 (+0100) Subject: Use the MODULE_LIBS instead of QMAKE_LIBDIR_QT for frameworks. X-Git-Tag: qt-v5.0.0-alpha1~4381 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b88c6fbcfe1108ae31c8773daeb51c9596e29a62;p=profile%2Fivi%2Fqtbase.git Use the MODULE_LIBS instead of QMAKE_LIBDIR_QT for frameworks. --- diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf index c44419c..b16c848 100644 --- a/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf @@ -106,7 +106,7 @@ defineTest(qtAddModule) { unset(LINKAGE) mac { CONFIG(qt_framework, qt_framework|qt_no_framework) { #forced - QMAKE_FRAMEWORKPATH *= $${QMAKE_LIBDIR_QT} + QMAKE_FRAMEWORKPATH *= $${MODULE_LIBS} FRAMEWORK_INCLUDE = $$MODULE_INCLUDES.framework/Headers !qt_no_framework_direct_includes:exists($$FRAMEWORK_INCLUDE) { INCLUDEPATH -= $$FRAMEWORK_INCLUDE @@ -114,7 +114,7 @@ defineTest(qtAddModule) { } LINKAGE = -framework $${MODULE_NAME}$${QT_LIBINFIX} } else:!qt_no_framework { #detection - for(frmwrk_dir, $$list($$QMAKE_LIBDIR_QT $$QMAKE_LIBDIR $$(DYLD_FRAMEWORK_PATH) /Library/Frameworks)) { + for(frmwrk_dir, $$list($$MODULE_LIBS $$QMAKE_LIBDIR $$(DYLD_FRAMEWORK_PATH) /Library/Frameworks)) { exists($${frmwrk_dir}/$${MODULE_NAME}.framework) { QMAKE_FRAMEWORKPATH *= $${frmwrk_dir} FRAMEWORK_INCLUDE = $$frmwrk_dir/$${MODULE_NAME}.framework/Headers