Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 8.0.0-beta2
-
Windows 10 21H2
MinGW 11.2.0
Qt 6.3.1
-
c04f3a94ea (qt-creator/qt-creator/master) c04f3a94ea (qt-creator/qt-creator/9.0)
Description
- Have MSVC compiler and CDB debugger installed.
- Have a Qt version built with MinGW, a matching MinGW compiler and gdb debugger installed.
I used Qt 6.3.1 and MinGW from Qt's online installer. - Use that Qt version to build a qmake based project.
I built a simple console project from the command line. - Have gcc, g++ and gdb from step 2 in PATH variable. Do not have qmake in PATH.
- From this environment, start Creator with empty settings., e.g. using the parameter -tcs
Creator can't find Qt yet because it is not in PATH. - Open the project you built in step 3 in Creator.
- In the "Configure Project" view, import the build from step 3 and click "Configure Project".
- Go to "Edit" -> "Preferences..." -> "Kits" -> "Kits".
There will be an automatically created Kit using the MinGW Qt version. For this Kit, the CDB debugger is set. Creator even shows a warning that these don't match.
gdb was automatically detected, it was just not selected for the kit. Since Creator already noticed that cdb does not match, it should be able to select gdb instead.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-21994 cdb selected for default kit using MinGW
- Closed
For Gerrit Dashboard: QTCREATORBUG-27758 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
420139,2 | QtSupport: Try harder at providing the right debugger | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |