Skip to content

Commit

Permalink
make sure qmake finds itself in CWD on windows
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
ossilator authored and The Qt Project committed Apr 30, 2013
1 parent 1e4242a commit 662c1f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qmake/option.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,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
Expand Down

0 comments on commit 662c1f2

Please sign in to comment.