Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Unsolved Clang kit configuration for Windows

    Tools
    1
    1
    616
    Loading More Posts
    • 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
      amigo421 last edited by

      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 Reply Quote 0
      • First post
        Last post