summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-10-27 15:03:05 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-10-27 15:05:08 (GMT)
commitcc21bffbb23212dfd6b18309aba762ae1538ae42 (patch)
tree502c7df7867b9eed387c288d24ed18a754f7bdd0 /mkspecs/features
parentfcbe4944a947884b81d6d415cfba0e228f61240d (diff)
downloadQt-cc21bffbb23212dfd6b18309aba762ae1538ae42.zip
Qt-cc21bffbb23212dfd6b18309aba762ae1538ae42.tar.gz
Qt-cc21bffbb23212dfd6b18309aba762ae1538ae42.tar.bz2
Build fix for QtXmlPatterns' examples on Symbian
This is the same workaround as Janne did for QtWebkit. Reviewed-by: Janne Koskinen
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/qt_functions.prf4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index 3f84f42..1be6d9b 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -54,6 +54,10 @@ defineTest(qtAddLibrary) {
# Needed for #include <QtXmlPatterns/QtXmlPatterns> because relative inclusion problem in toolchain
INCLUDEPATH *= $$QMAKE_INCDIR_QT/QtXmlPatterns
}
+ isEqual(LIB_NAME, QtXmlPatterns) {
+ # Needed for #include <QtXmlPatterns/QtXmlPatterns> because relative inclusion problem in toolchain
+ INCLUDEPATH *= $$QMAKE_INCDIR_QT/QtNetwork
+ }
}
isEmpty(LINKAGE) {
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {