Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 7.0.0
-
None
-
Windows 10, 64 bits,
LLVM 14.0, 64 bits.
Description
I'm trying to create a Kit on Qt Creator for my installation of the LLVM compiler on Windows.
It's the LLVM compiler from github, not the one MSVC bundles.
64 bits Windows, 64 bits LLVM binaries.
No matter what I do, Qt Creator insists on having a sysroot path on the kit, that is defaulting to my msys2 installation, and that nothing to do with this LLVM install.
If I leave it empty, save, close the settings and open then again, it's back to the same value.
See attached screenshot.
Sanity check: creating a kit with a GCC compiler doesn't create sysroot to be populated:
And when I try to use the compiler:
Running C:\ProgramsUser\CMake\bin\cmake.exe -S D:/User/Repos/aether_sdr -B D:/User/Repos/build-aether_sdr-Clang_LLVM_14_0_no_Qt-Debug "-DCMAKE_GENERATOR:STRING=Ninja" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=D:/Programs/Qt/Tools/QtCreator/share/qtcreator/package-manager/auto-setup.cmake" -D "-DCMAKE_C_COMPILER_TARGET:STRING=x86_64-w64-mingw32" "-DCMAKE_CXX_COMPILER_TARGET:STRING=D:\User\Repos\build-aether_sdr-Clang_LLVM_14_0_no_Qt-Debugx86_64-w64-mingw32" "-DCMAKE_C_COMPILER:FILEPATH=D:/Programs/LLVM/bin/clang.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=D:/Programs/LLVM/bin/clang++.exe" in %2. CMake Error: -D must be followed with VAR=VALUE. CMake Error: Run 'cmake --help' for all supported options. CMake process exited with exit code 1. Elapsed time: 00:00.
Which makes it look like Qt Creator things this is a cross-compiler.
Attachments
For Gerrit Dashboard: QTCREATORBUG-27256 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
403147,3 | CMakePM: Filter out empty key configuration items | 7.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |