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 <joerg.bornemann@digia.com>
This commit is contained in:
parent
9f1b64766b
commit
e7c3b21b7c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user