diff --git a/CMakeLists.txt b/CMakeLists.txt index d9e4c15d80..005b06db63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ project(QtDeclarative # special case find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Network Widgets OpenGL OpenGLWidgets Sql Concurrent Test LanguageServerPrivate LinguistTools) +qt_internal_project_setup() # Set up QT_HOST_PATH as an extra root path to look for the ShaderToolsTools package # when cross-compiling.