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. Clang kit configuration for Windows
Forum Updated to NodeBB v4.3 + New Features

Clang kit configuration for Windows

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 781 Views 1 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.
  • A Offline
    A Offline
    amigo421
    wrote on last edited by
    #1

    FIrst of all - I'm talking about C++ development WITHOUT Qt,
    the question is about QtC as an IDE only, NOT in apply to Qt

    Is there a manual how to configure CLang compiler under Windows?
    both versions is ok for me LLVM or Microsoft, doesn't matter,
    however LLVM version is detected by QtC, MS one was not, and I think if I will add this into the PATH , it won't help .

    1. Configuring
      when I'm configuring a kit based on LLVM, which other parameters whould be specified?
      Debugger - CDBx64? is it ok for debug CLang ABI?
      CMake Generatkr - the same ? CodeBLock's nmake?

    2. Generating
      I got the error from cmake:
      C:\dev\workspace\algolist\CMakeLists.txt:2: error: The CMAKE_CXX_COMPILER: cl is not a full path and was not found in the PATH. To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat). Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
      so looks like this generator forces to use cl , instead of clang.
      any ideas?

    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