CMake: Fix no-widgets build
Task-number: QTBUG-86053 Change-Id: If58d5b69ed58ae1aa3d50737683e682d70c26c23 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
06ad243417
commit
8ba6cf600e
|
@ -15,8 +15,8 @@ project(QtDeclarative # special case
|
|||
set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE)
|
||||
# special case end
|
||||
|
||||
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets Network # special case
|
||||
OPTIONAL_COMPONENTS OpenGL OpenGLWidgets Sql Concurrent Test) # 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) # special case
|
||||
|
||||
# special case begin
|
||||
# export QT6_ADD_QML_MODULE to this project
|
||||
|
|
Loading…
Reference in New Issue