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

Importing a build directory (cmake) into to a project does not import the CMAKE_CXX_COMPILER used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.14.2
    • None
    • Linux/X11

    Description

      I built from the command line all of qt5 dev branch (v6.2) supermodule into its own build directory, more or less using the following configure line:

      configure -developer-build -debug  --  -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
      

      When I tried importing this build directory into QtCreator, the CMAKE_CXX_COMPILER flag was nowhere to be found in the "imported kit" that QtCreator added.

      According to cadam this might be related to the fact that the compiler is not an absolute path. Thank you for helping me on Teams!

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes