Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. The configuration script cannot find Windows SDK
Qt 6.11 is out! See what's new in the release blog

The configuration script cannot find Windows SDK

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 2 Posters 1.0k Views
  • 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.
  • E Offline
    E Offline
    EncVar
    wrote on last edited by
    #1

    I have downloaded Windows SDK correctly, but the script just can't recognise it.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Which script? Did you properly open the visual studio command prompt so all is correctly set up?

      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
      0
      • E Offline
        E Offline
        EncVar
        wrote on last edited by
        #3

        I did follow the instructions to set up my environment correctly.
        And here's the output of the configuration script:

        + H:\Qt\6.8.1\Src/qtbase/configure.bat -top-level -qt-libpng -qt-libjpeg -cmake-generator Ninja -openssl-linked -platform win32-clang-msvc -- -DOPENSSL_ROOT_DIR=H:/Qt/Tools/OpenSSLv3/Win_x64 -DLLVM_INSTALL_DIR=D:/LLVM-Clang MSVC/clang+llvm-18.1.8-x86_64-pc-windows-msvc/ -Wno-dev
        -- Windows 10 SDK version:
        Overriding option 'libpng' with 'qt' (was: 'undefined')
        Overriding option 'libjpeg' with 'qt' (was: 'undefined')
        'C:/Program Files/CMake/bin/cmake.exe' '-DOPENSSL_ROOT_DIR=H:/Qt/Tools/OpenSSLv3/Win_x64' '-DLLVM_INSTALL_DIR=D:/LLVM-Clang MSVC/clang+llvm-18.1.8-x86_64-pc-windows-msvc/' '-Wno-dev' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DQT_QMAKE_TARGET_MKSPEC=win32-clang-msvc' '-DCMAKE_C_COMPILER=clang-cl' '-DCMAKE_CXX_COMPILER=clang-cl' '-DINPUT_libpng=qt' '-DINPUT_libjpeg=qt' '-DINPUT_openssl=linked' '-G' 'Ninja' 'H:/Qt/6.8.1/Src'
        -- Checking dependencies of submodule 'qtbase'
        -- Checking dependencies of submodule 'qtimageformats'
        -- Checking dependencies of submodule 'qtlanguageserver'
        -- Checking dependencies of submodule 'qtshadertools'
        -- Checking dependencies of submodule 'qtsvg'
        -- Checking dependencies of submodule 'qtdeclarative'
        -- Checking dependencies of submodule 'qtquicktimeline'
        -- Checking dependencies of submodule 'qtquick3d'
        -- Checking dependencies of submodule 'qtmultimedia'
        -- Checking dependencies of submodule 'qt3d'
        -- Checking dependencies of submodule 'qt5compat'
        -- Checking dependencies of submodule 'qtactiveqt'
        -- Checking dependencies of submodule 'qtcharts'
        -- Checking dependencies of submodule 'qtcoap'
        -- Checking dependencies of submodule 'qtconnectivity'
        -- Checking dependencies of submodule 'qtdatavis3d'
        -- Checking dependencies of submodule 'qtgraphs'
        -- Checking dependencies of submodule 'qtwebsockets'
        -- Checking dependencies of submodule 'qthttpserver'
        -- Checking dependencies of submodule 'qtserialport'
        -- Checking dependencies of submodule 'qtpositioning'
        -- Checking dependencies of submodule 'qtlocation'
        -- Checking dependencies of submodule 'qttools'
        -- Checking dependencies of submodule 'qtwebchannel'
        -- Checking dependencies of submodule 'qtwebengine'
        -- Checking dependencies of submodule 'qtdoc'
        -- Checking dependencies of submodule 'qtgrpc'
        -- Checking dependencies of submodule 'qtlottie'
        -- Checking dependencies of submodule 'qtmqtt'
        -- Checking dependencies of submodule 'qtnetworkauth'
        -- Checking dependencies of submodule 'qtopcua'
        -- Checking dependencies of submodule 'qtquick3dphysics'
        -- Checking dependencies of submodule 'qtquickeffectmaker'
        -- Checking dependencies of submodule 'qtremoteobjects'
        -- Checking dependencies of submodule 'qtscxml'
        -- Checking dependencies of submodule 'qtsensors'
        -- Checking dependencies of submodule 'qtserialbus'
        -- Checking dependencies of submodule 'qtspeech'
        -- Checking dependencies of submodule 'qttranslations'
        -- Checking dependencies of submodule 'qtvirtualkeyboard'
        -- Checking dependencies of submodule 'qtwayland'
        -- Checking dependencies of submodule 'qtwebview'
        -- Configuring submodule 'qtbase'
        -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release'
        [QtBase]     'qtwebengine_build' was changed from OFF to ON
        [QtBase]     'qtwebengine_core_build' was changed from OFF to ON
        [QtBase]     'qtwebengine_widgets_build' was changed from OFF to ON
        [QtBase]     'qtwebengine_quick_build' was changed from OFF to ON
        CMake Warning at qtbase/cmake/QtFeature.cmake:896 (message):
          Due to detected feature set changes, dependent features will be re-computed
          automatically.  This might cause a lot of files to be rebuilt.  To disable
          this behavior, configure with -DQT_NO_FEATURE_AUTO_RESET=ON
        Call Stack (most recent call first):
          qtbase/cmake/QtBuildHelpers.cmake:472 (qt_internal_detect_dirty_features)
          qtbase/cmake/QtBuild.cmake:4 (qt_internal_setup_build_and_global_variables)
          qtbase/cmake/QtSetup.cmake:6 (include)
          qtbase/cmake/QtBuildRepoHelpers.cmake:21 (include)
          qtbase/cmake/QtBuildRepoHelpers.cmake:232 (qt_build_internals_set_up_private_api)
          qtbase/cmake/QtBaseHelpers.cmake:154 (qt_build_repo_begin)
          qtbase/CMakeLists.txt:32 (qt_internal_qtbase_build_repo)
        
        
        -- Configuring submodule 'qtimageformats'
        -- Configuring submodule 'qtlanguageserver'
        -- Configuring submodule 'qtshadertools'
        -- Configuring submodule 'qtsvg'
        -- Configuring submodule 'qtdeclarative'
        -- Configuring submodule 'qtquicktimeline'
        -- Configuring submodule 'qtquick3d'
        -- Configuring submodule 'qtmultimedia'
        -- Configuring submodule 'qt3d'
        -- Configuring submodule 'qt5compat'
        -- Configuring submodule 'qtactiveqt'
        -- Configuring submodule 'qtcharts'
        -- Configuring submodule 'qtcoap'
        -- Configuring submodule 'qtconnectivity'
        -- Configuring submodule 'qtdatavis3d'
        -- Configuring submodule 'qtgraphs'
        -- Configuring submodule 'qtwebsockets'
        -- Configuring submodule 'qthttpserver'
        -- Configuring submodule 'qtserialport'
        -- Configuring submodule 'qtpositioning'
        -- Configuring submodule 'qtlocation'
        -- Configuring submodule 'qttools'
        -- Configuring submodule 'qtwebchannel'
        -- Configuring submodule 'qtwebengine'
        [QtWebEngine] -- Windows 10 SDK version:
        [QtWebEngine] -- Support check for QtWebEngine failed: Build requires Windows 11 SDK at least version 10.0.22621.0
        CMake Error at qtwebengine/cmake/Functions.cmake:967 (get_filename_component):
          get_filename_component called with incorrect number of arguments
        Call Stack (most recent call first):
          qtwebengine/src/pdf/CMakeLists.txt:112 (append_compiler_linker_sdk_setup)
        
        
        -- Configuring incomplete, errors occurred!
        CMake Error at H:/Qt/6.8.1/Src/qtbase/cmake/QtProcessConfigureArgs.cmake:1139 (message):
          CMake exited with code 1.
        
        
        CMake Error at H:/Qt/6.8.1/Src/cmake/QtIRProcessHelpers.cmake:173 (message):
          H:\Qt\6.8.1\Src/qtbase/configure.bat -top-level -qt-libpng -qt-libjpeg
          -cmake-generator Ninja -openssl-linked -platform win32-clang-msvc --
          -DOPENSSL_ROOT_DIR=H:/Qt/Tools/OpenSSLv3/Win_x64
          -DLLVM_INSTALL_DIR=D:/LLVM-Clang
          MSVC/clang+llvm-18.1.8-x86_64-pc-windows-msvc/ -Wno-dev exited with status:
          1
        
        Call Stack (most recent call first):
          H:/Qt/6.8.1/Src/cmake/QtTopLevelHelpers.cmake:35 (qt_ir_execute_process_and_log_and_handle_error)
          H:/Qt/6.8.1/Src/cmake/QtTopLevelHelpers.cmake:57 (qt_tl_run_toplevel_configure)
          H:/Qt/6.8.1/Src/cmake/QtTopLevelConfigureScript.cmake:17 (qt_tl_run_main_script)
        
        
        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