Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1764

Setup Toolchains for clang on Linux does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 2.1.2
    • Toolchains: Clang/LLVM
    • None
    • Linux/Other display system

    Description

      For setup I run:

      qbs setup-toolchains --type clang /usr/bin/clang++ myProfile
      

      This worked great with Qbs 1.24.0 and fails after updating to Qbs 2.1.2.

      When I use the generated profile the `g++` compiler is used.

      As a workaround I run:

      qbs config profiles.myProfile.cpp.compilerName "clang++"
      qbs config profiles.myProfile.cpp.cxxCompilerName "clang++"
      qbs config profiles.myProfile.cpp.cCompilerName "clang"

      It seems like the `myProfile.qbs.toolchainType=clang` no longer works as expected.

       

       

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            arbmind Andreas Reischuck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes