Qt 6.8.3 build fails on windows
-
I'm attempting to build Qt 6.8.3 on windows using MSVC 2022 and I'm running into a configure error:
CMake Error at C:/Program Files/CMake/share/cmake-3.31/Modules/CMakeDetermineCXXCompiler.cmake:48 (message):
Could not find compiler set in environment variable CXX:\llvm\bin\clang-cl.exe.
I'm running configure from an x64 Native command prompt, Cmake version is 3.31.4 and I'm using Visual Studio Commmunity 17.14.11.
The configure command was
configure.bat -top-level -opensource -debug-and-release -force-debug-info -c++std c++20 -qt-zlib -qt-libjpeg -qt-libpng -opengl desktop -no-feature-tiff -nomake examples -nomake tests -confirm-license -skip qtwebengine -skip qtquick3d -skip qtquick3dphysics -skip qtquicktimeline -skip qtwebview -skip qtdoc -skip qtlottie -skip qtmqtt -skip qtopcua -skip qtscxml -skip qtvirtualkeyboard -skip qt3d -skip qtmultimedia -qtnamespace MyQt_6_8_3 -prefix D:\Qt-6.8.3-Build\qtbase
Does someone have an idea why it's looking for clang-cl ?
-
I'm attempting to build Qt 6.8.3 on windows using MSVC 2022 and I'm running into a configure error:
CMake Error at C:/Program Files/CMake/share/cmake-3.31/Modules/CMakeDetermineCXXCompiler.cmake:48 (message):
Could not find compiler set in environment variable CXX:\llvm\bin\clang-cl.exe.
I'm running configure from an x64 Native command prompt, Cmake version is 3.31.4 and I'm using Visual Studio Commmunity 17.14.11.
The configure command was
configure.bat -top-level -opensource -debug-and-release -force-debug-info -c++std c++20 -qt-zlib -qt-libjpeg -qt-libpng -opengl desktop -no-feature-tiff -nomake examples -nomake tests -confirm-license -skip qtwebengine -skip qtquick3d -skip qtquick3dphysics -skip qtquicktimeline -skip qtwebview -skip qtdoc -skip qtlottie -skip qtmqtt -skip qtopcua -skip qtscxml -skip qtvirtualkeyboard -skip qt3d -skip qtmultimedia -qtnamespace MyQt_6_8_3 -prefix D:\Qt-6.8.3-Build\qtbase
Does someone have an idea why it's looking for clang-cl ?
@gvanvoor said in Qt 6.8.3 build fails on windows:
Does someone have an idea why it's looking for clang-cl ?
Because you set it in the CXX environment variable as cmake tells you some lines above.