Skip to content

Commit 662c1f2

Browse files
ossilatorThe Qt Project
authored and
The Qt Project
committed
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 <[email protected]> (cherry picked from qtbase/e7c3b21b7c1ed9247cb2f9eeddc154534a038549)
1 parent 1e4242a commit 662c1f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qmake/option.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ Option::init(int argc, char **argv)
444444
QDir currentDir = QDir::current();
445445
#ifdef Q_OS_WIN
446446
QStringList paths = QString::fromLocal8Bit(pEnv).split(QLatin1String(";"));
447+
paths.prepend(QLatin1String("."));
447448
#else
448449
QStringList paths = QString::fromLocal8Bit(pEnv).split(QLatin1String(":"));
449450
#endif

0 commit comments

Comments
 (0)