Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
None
-
Windows 7, qt compiled with mingw
-
6a41fa832e76b489adef9b26ee5cc7f9a83953cc
Description
On Windows, with a qt.conf calling "qmake -query" give the expected behaviour while calling "qmake.exe -query" return the builtin paths.
I fixed this issue replacing code near line 350 of qmake/option.cpp:
#ifdef Q_OS_WIN
candidate += ".exe";
#else
WITH:
#ifdef Q_OS_WIN
if (!candidate.endsWith(".exe"))
candidate += ".exe";
#endif