From 8ba6cf600e7c3037016a6861aa429326d5c9095b Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 20 Oct 2020 15:52:52 +0200 Subject: CMake: Fix no-widgets build Task-number: QTBUG-86053 Change-Id: If58d5b69ed58ae1aa3d50737683e682d70c26c23 Reviewed-by: Fabian Kosmale --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fd22daa2a..fd17f4a3c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 -- cgit v1.2.3