Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0 RC
-
None
-
072102c6fd833b4a68b5311bda8be9275b7ff970
Description
qtenv2.bat looks a bit suspicious:
echo off
echo Setting up environment for Qt usage...
set PATH=C:\Qt\Qt5.7.0-rc\5.7\mingw53_32\bin;\bin;%PATH%
cd /D C:\Qt\Qt5.7.0-rc\5.7\mingw53_32
Notice that it is appending two paths, one to the qt binaries folder (which is correct), the other one is to a "\bin" folder. I suspect that part should refer to the mingw tools path.
The consequence is that the "Qt 5.7 for Desktop (MinGW)" shortcut that is supposed to launch a command line shell with the environment ready for compiling Qt applications, will now launch a command line shell with an incomplete environment for compiling Qt applications (its missing the environment for the compiler etc).
For experienced users this should not be a big hurdle, but for newcomers for Qt this might be a problem and does not exactly contribute to "love at first sight".
Attachments
Issue Links
- is duplicated by
-
QTBUG-54111 qtenv2.bat sets wrong path to mingw (492 instead of 530)
- Closed