From c19f93eee1219ff91772f34d32b8ff4c20a4341d Mon Sep 17 00:00:00 2001 From: Janne Koskinen Date: Wed, 14 Oct 2009 16:54:02 +0300 Subject: QtWebkit demos&examples compilation fix for Symbian Fix for applications not compiling containing #include due to relative inclusion problem in Symbian build environment. Task-number: QTBUG-4846 Reviewed-by: Iain --- mkspecs/features/qt_functions.prf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf index 6322233..3f84f42 100644 --- a/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf @@ -45,9 +45,15 @@ defineTest(qtAddLibrary) { } } } - symbian*:isEqual(LIB_NAME, QtGui) { - # Needed for #include because qs60mainapplication.h includes aknapp.h - INCLUDEPATH *= $$MW_LAYER_SYSTEMINCLUDE + symbian { + isEqual(LIB_NAME, QtGui) { + # Needed for #include because qs60mainapplication.h includes aknapp.h + INCLUDEPATH *= $$MW_LAYER_SYSTEMINCLUDE + } + isEqual(LIB_NAME, QtWebKit) { + # Needed for #include because relative inclusion problem in toolchain + INCLUDEPATH *= $$QMAKE_INCDIR_QT/QtXmlPatterns + } } isEmpty(LINKAGE) { if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { -- cgit v0.12