From 2495ea388fce8187fa28afa98d269e327a79b537 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 21 Jul 2015 14:04:51 +0200 Subject: Fix build against installed QtBase We need two little hacks to make it possible to build against a frameworks build of QtBase that is installed. Change-Id: I82e530a3c52ad90ad37044a367a8f8eb6ddfd887 Reviewed-by: Frederik Gladhorn --- Source/JavaScriptCore/LLIntOffsetsExtractor.pro | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/JavaScriptCore') diff --git a/Source/JavaScriptCore/LLIntOffsetsExtractor.pro b/Source/JavaScriptCore/LLIntOffsetsExtractor.pro index 5a66d1ff3..cba9b9ffb 100644 --- a/Source/JavaScriptCore/LLIntOffsetsExtractor.pro +++ b/Source/JavaScriptCore/LLIntOffsetsExtractor.pro @@ -61,6 +61,12 @@ macx { DESTDIR = $$targetSubDir() llint.output = $$targetSubDir()/$$llint.output INCLUDEPATH += $$targetSubDir() + contains(QT_CONFIG, qt_framework) { + # Add framework headers directly to make #include work + INCLUDEPATH += $$QT.core.libs/QtCore.framework/Headers + # Extend framework search path to make #include work + QMAKE_CXXFLAGS += -F$$QT.core.libs + } } # Compilation of this file will automatically depend on LLIntDesiredOffsets.h -- cgit v1.2.1