Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 9.0.1
-
None
-
openSuSE Leap 15.4 (x64)
Description
I've changed the c/c++ compiler to gcc12, but the qt create still use the default gcc to compile the project.
Reproduce Steps:
- open qtcreator
- select `Edit` -> `Preference` -> `Kits` -> `Desktop Qt 6.2.4 GCC 64bit`
- Change `Compiler C:` to `/usr/bin/gcc-12`
- Change `Compiler C+:` to `/usr/bin/g++-12`
- create a project from the examples (`HTTP Example`)
- click the build button
Then, the `Compile Output` tab says it still use the default `g+`, not `g+{}-12`, and the `Issues` tab says `filesystem: No such file or directory`(because it still use system default gcc, a.k. gcc7)
Setup:
- openSuSE Leap 15.4
- run command `sudo zypper in gcc12 gcc-c++12`
- install qt via online installer with qt 6.2.4 (lts)
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-21751 GCC compiler version specified in kit is ignored by qmake
-
- Closed
-