From 7d4e535c3498a252111bc2f6b760a07a5e2a2008 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Wed, 28 Sep 2022 05:58:53 +0000 Subject: [PATCH] Make UEFITool buildable with Qt 6.2 and older --- UEFITool/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UEFITool/CMakeLists.txt b/UEFITool/CMakeLists.txt index f1d942f..54bbeed 100644 --- a/UEFITool/CMakeLists.txt +++ b/UEFITool/CMakeLists.txt @@ -7,7 +7,6 @@ SET(CMAKE_CXX_STANDARD_REQUIRED ON) SET(CMAKE_CXX_EXTENSIONS OFF) FIND_PACKAGE(Qt6 REQUIRED COMPONENTS Widgets) -QT_STANDARD_PROJECT_SETUP() SET(PROJECT_FORMS uefitool.ui @@ -118,4 +117,6 @@ SET_TARGET_PROPERTIES(UEFITool PROPERTIES WIN32_EXECUTABLE ON MACOSX_BUNDLE ON MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist" + AUTOMOC ON + AUTOUIC ON )