summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-02-03 15:09:53 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-02-03 15:09:53 (GMT)
commite029b5b7bf8cb8815e33a1e08b6a609dafa25f52 (patch)
tree713865b357d7087d3c06bc34c6babf2ecdcc1eca /qmake
parenta9fa8187b1a7efe343e0bf2722cde5c0ef5fa77e (diff)
parent05a1573eddc6dc404631c9d16474c81aa4cea569 (diff)
downloadQt-e029b5b7bf8cb8815e33a1e08b6a609dafa25f52.zip
Qt-e029b5b7bf8cb8815e33a1e08b6a609dafa25f52.tar.gz
Qt-e029b5b7bf8cb8815e33a1e08b6a609dafa25f52.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Fixed QFileInfo::absolutePath() warning when running "qmake -project" QTcpServer: Clarify thread affinity of incoming QTcpSocket Cleared up QEvent documentation for QGraphicsSceneDragDropEvent events. Updated my changelog entry QNAM HTTP: Fix bug related to re-sending a request Adding my changes. Remove erroneous warning in QFileInfo::absolutePath()
Diffstat (limited to 'qmake')
-rw-r--r--qmake/project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index c2e033e..4ce8ba4 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -3067,7 +3067,7 @@ QStringList &QMakeProject::values(const QString &_var, QMap<QString, QStringList
place[var] = QStringList(pfile);
} else if(var == QLatin1String("_PRO_FILE_PWD_")) {
var = ".BUILTIN." + var;
- place[var] = QStringList(QFileInfo(pfile).absolutePath());
+ place[var] = QStringList(pfile.isEmpty() ? qmake_getpwd() : QFileInfo(pfile).absolutePath());
} else if(var == QLatin1String("_QMAKE_CACHE_")) {
var = ".BUILTIN." + var;
if(Option::mkfile::do_cache)