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. Adding Clang to Creator on Windows

Adding Clang to Creator on Windows

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
9 Posts 2 Posters 3.0k Views
  • 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.
  • _ Offline
    _ Offline
    _PIB
    wrote on last edited by _PIB
    #1

    HOW? I keep getting

    00:50:54: Could not start process "mingw32-make.exe" clean
    

    for whatever reason. I DO have MingW installed but how do I point Creator at it? It is found automatically with MingW compiler selected!

    What should sysroot point at? Should it point at MingW installation since there Clang relies on GCC STL?

    Detected mkspec is win32-g++ even though I added Clang as Clang (it probably does not matter).

    1 Reply Last reply
    0
    • _ Offline
      _ Offline
      _PIB
      wrote on last edited by
      #2

      http://doc.qt.io/qtcreator/creator-tool-chains.html - this is outdated, there is no make path anymore.

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

        Hi,

        How did you install MinGW ?

        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
        • SGaistS SGaist

          Hi,

          How did you install MinGW ?

          _ Offline
          _ Offline
          _PIB
          wrote on last edited by _PIB
          #4

          @SGaist there are both bundled GCC 5.3.0 and added GCC 5.4.0 (built Qt with it and made a kit from my build and 5.4.0, both working fine).

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

            Ok, and where did you get clang for Windows ?

            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
            • SGaistS SGaist

              Ok, and where did you get clang for Windows ?

              _ Offline
              _ Offline
              _PIB
              wrote on last edited by
              #6

              @SGaist http://releases.llvm.org/download.html#4.0.0

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

                For 5.8 clang information can be found here.

                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
                • SGaistS SGaist

                  For 5.8 clang information can be found here.

                  _ Offline
                  _ Offline
                  _PIB
                  wrote on last edited by
                  #8

                  @SGaist WELL. So if I am going to use Clang as a drop-in replacement for GCC (ABI is compatible) am I out of luck?

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

                    Out of luck ? I don't think so, however it might take a bit more work to have it running. However I'd recommend checking with the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

                    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
                    1

                    • Login

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