From d4842d8217eeedc601863bded77e4392c56714e7 Mon Sep 17 00:00:00 2001 From: Kang Lin Date: Mon, 14 Feb 2022 16:17:35 +0800 Subject: [PATCH] Remove Widget --- qtservice/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/qtservice/CMakeLists.txt b/qtservice/CMakeLists.txt index c2cfc25..5eb641a 100644 --- a/qtservice/CMakeLists.txt +++ b/qtservice/CMakeLists.txt @@ -19,7 +19,6 @@ SET(CMAKE_VERBOSE_MAKEFILE ON) if(CMAKE_VERSION VERSION_LESS "3.7.0") set(CMAKE_INCLUDE_CURRENT_DIR ON) endif() -SET(QT_COMPONENTS Widgets) find_package(QT NAMES Qt6 Qt5 COMPONENTS Core) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS ${QT_COMPONENTS}) message("QT_VERSION:${Qt${QT_VERSION_MAJOR}_VERSION}")