Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28751

C++ compiler will not be replaced by the one user selected in [Preference -> Kits]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 9.0.1
    • C/C++/Obj-C++ Support
    • None
    • openSuSE Leap 15.4 (x64)
    • Linux/X11

      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)

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            sauntor sauntor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes