Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 6.8.3 build fails on windows

Qt 6.8.3 build fails on windows

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 887 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.
  • G Offline
    G Offline
    gvanvoor
    wrote on last edited by gvanvoor
    #1

    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 ?

    Christian EhrlicherC 1 Reply Last reply
    0
    • G gvanvoor

      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 ?

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved