Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.12.0-rc1
-
None
-
* QtC 4.12-rc1-278: https://download.qt.io/snapshots/qtcreator/4.12/4.12.0-rc1/278/qt-creator-opensource-windows-x86-4.12.0-rc1_278.exe
* MSVC 2017 Kit
* GCC bare-meral Kit
-
-
3b740fccc8a3ba28f40687613fb993ca5ee500f5 (qt-creator/qt-creator/4.12)
Description
How to reproduce:
1) Create the QBS project which contains two products:
import qbs Project { CppApplication { condition: qbs.targetOS.contains("windows") name: "windows-product" } CppApplication { condition: qbs.targetOS.contains("") name: "baremetal-product" } }
2) Create and configure two Kits:
- MSVC2017 Qt 5.14.1
- GCC bare-metal
3) Open the QBS project and shoose check-boxes for two Kits, click to configure.
4) Some times (e.g. two time) switch the profiles (from the left QtC panel): "Projects -> Build & Run -> MSVS or GCC"
5) Right now you can see a bug: selected the active MSVC Kit, but the "windows" project is disabled!
Nor force-probes, not project re-parsing does not help. Helped only re-opening a project again.
Note: With QtC 4.11.1 all does work.
Attachments
For Gerrit Dashboard: QTCREATORBUG-23767 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
295582,2 | QbsProjectManager: Ensure project data update on target switch | 4.12 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
295790,1 | QbsProjectManager: Ensure project data update on target switch | master | qt-creator/qt-creator | Status: ABANDONED | +2 | 0 |