summaryrefslogtreecommitdiffstats
path: root/qmake/generators/symbian/symmake.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-11-13 10:53:27 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-11-13 10:53:27 (GMT)
commitbecf7dc2b4b7c2609350eb3236f854c1a4a344f5 (patch)
tree9cdc7101f704a7c6b6544c3aa74f79e5f2fdd1dc /qmake/generators/symbian/symmake.cpp
parent3794e55c2c8427dd8bd4f86af5e894cc80267881 (diff)
parent60d2ab05c350f866f942a35f341f455015fdb800 (diff)
downloadQt-becf7dc2b4b7c2609350eb3236f854c1a4a344f5.zip
Qt-becf7dc2b4b7c2609350eb3236f854c1a4a344f5.tar.gz
Qt-becf7dc2b4b7c2609350eb3236f854c1a4a344f5.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6
Diffstat (limited to 'qmake/generators/symbian/symmake.cpp')
-rw-r--r--qmake/generators/symbian/symmake.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/qmake/generators/symbian/symmake.cpp b/qmake/generators/symbian/symmake.cpp
index 8ec4b3f..1326a49 100644
--- a/qmake/generators/symbian/symmake.cpp
+++ b/qmake/generators/symbian/symmake.cpp
@@ -610,19 +610,10 @@ void SymbianMakefileGenerator::initMmpVariables()
incpaths << project->values("UI_HEADERS_DIR");
incpaths << project->values("UI_DIR");
- QString epocPath("epoc32");
for (int j = 0; j < incpaths.size(); ++j) {
QString includepath = canonizePath(incpaths.at(j));
appendIfnotExist(sysincspaths, includepath);
- // As a workaround for Symbian toolchain insistence to treat include
- // statements as relative to source file rather than the file they appear in,
- // we generate extra temporary include directories to make
- // relative include paths used in various headers to work properly.
- // Note that this is not a fix-all solution; it's just a stop-gap measure
- // to make Qt itself build until toolchain can support relative includes in
- // a way that Qt expects.
- if (!includepath.contains(epocPath)) // No temp dirs for epoc includes
- appendIfnotExist(sysincspaths, includepath + QString("/" QT_EXTRA_INCLUDE_DIR));
+ appendAbldTempDirs(sysincspaths, includepath);
}
// Remove duplicate include path entries