Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. how to change qmake configuration from using clang version10 to 12
Qt 6.11 is out! See what's new in the release blog

how to change qmake configuration from using clang version10 to 12

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 900 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LoudSnorer
    wrote on last edited by
    #1

    I'm a newbee to qt. I need to use clang++-12 compiler.
    I now have clang++ (version 10?) working on an exist project using ubuntu 20.04.
    I've changed from the default GNU compiler to clang++ using apt install clang++, and this works.

    I'm tried using qtcreator menu by opening an existing project file *.pro file on a fresh build.
    I used tools -> options -> Kits -> compiler , select clang version 12 listed.
    pressed apply and then OK.
    I then re-executed qmake -spec /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang project.pro

    Any suggestions on how to make clank++-12 work??

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What exact issue or error are you getting ?
      From what you describe, things seems to be going correctly.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        What exact issue or error are you getting ?
        From what you describe, things seems to be going correctly.

        L Offline
        L Offline
        LoudSnorer
        wrote on last edited by
        #3

        @SGaist
        The compile work but it was using clang++ and not clang++-12

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Usually clang++ is a symbolic link, where does it point to ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved