Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.9.0-rc1
-
None
-
Qt Creator 4.9.0-rc1 (4.8.84)
Based on Qt 5.12.2 (MSVC 2017, 32 bit)
Built on Mar 26 2019 08:51:56
From revision 8ff29ff19d
Enterprise Features: Enabled
On Windows 10 x64
-
-
73da3d3bc0560a5a40d89951a7d4c9d11396bdc8 (qt-creator/qt-creator/4.9)
Description
Qt Creator gives the following error after a previous qmake run resulted in an error:
Error while building/deploying project TestQtCRc (kit: <SELECTED_KIT>)
When executing step "qmake"
Steps to reproduce:
- Open Qt Creator
- Create a new qmake project
- Example: CTRL + N -> Application -> Qt Widgets Application -> SomeName -> Select Kits (all or some)
- Or empty qmake project also works
- Open the pro file of the project from the Project Explorer
- Run qmake
- qmake completes without error
- Add an error to the qmake pro file
- error( "Some error" )
- Run qmake
- qmake runs and prints the error in the "Compile Output" output pane
- Run qmake again
- "Compile Output" output pane reports above error.
- Remove the error from the project and run qmake again
- "Compile Output" output pane still reports above error.
- Restart Qt Creator to be able to run qmake again.
I have tested above for all of the the kits that I have, same behaviour:
- Desktop Qt 5.12.0 MSVC2017 32bit
- Desktop Qt 5.12.0 MSVC2017 64bit
- Desktop Qt 5.12.2 MSVC2017 32bit2
- Desktop Qt 5.12.2 MinGW 64-bit2
- Desktop Qt 5.9.7 MinGW 32bit2
- ...
This was not an issue with Qt Creator 4.8. I first saw the issue in 4.9.0 beta 2 (not sure if in beta 1 though)
This is a blocker for upgrading Qt Creator