From e7c3b21b7c1ed9247cb2f9eeddc154534a038549 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 25 Apr 2013 16:44:30 +0200 Subject: [PATCH] make sure qmake finds itself in CWD on windows and consequently that it finds qt.conf. Task-number: QTBUG-30583 Change-Id: I48441477e941d9609270d6e5e1b405127c0c0aca Reviewed-by: Joerg Bornemann --- qmake/option.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qmake/option.cpp b/qmake/option.cpp index 983d3490d8..4f7cdb34a2 100644 --- a/qmake/option.cpp +++ b/qmake/option.cpp @@ -338,6 +338,7 @@ Option::init(int argc, char **argv) QDir currentDir = QDir::current(); #ifdef Q_OS_WIN QStringList paths = QString::fromLocal8Bit(pEnv).split(QLatin1String(";")); + paths.prepend(QLatin1String(".")); #else QStringList paths = QString::fromLocal8Bit(pEnv).split(QLatin1String(":")); #endif