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

Clang installation is not auto-detected for Windows

XMLWordPrintable

    • eb4d1584b6cd9d06a99dd74337917cac0aacece1

      Clang officially ships windows builds at http://llvm.org/releases/download.html

      They even have nightly builds http://llvm.org/builds/

      Clang on Windows works by using Visual C++ 2013/2015 headers and CRT.

      Qt Creator could check for the presence of `HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\LLVM\LLVM`.

      and then high jack existing Visual C++ kits by changing the following
      environment variables:

      $ set PATH=C:\Program Files (x86)\LLVM\msbuild-bin\;%PATH%
      $ set INCLUDE=C:\Program Files (x86)\LLVM\lib\clang\3.7.0\include\;%INCLUDE%
      

      Then everything should work as would normally do for Visual C++.

      Currently the LLVM 64 bit installer suffers from the following bug:
      https://llvm.org/bugs/show_bug.cgi?id=26212

      Clang on Windows is too important not to support.

      With minimum effort Qt Creator 3.7.0 could have some nice PR! – Clang supported on Windows!

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

            hunger Tobias Hunger
            cadam Cristian Adam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes