Make UEFITool buildable with Qt 6.2 and older

This commit is contained in:
Nikolaj Schlej 2022-09-28 05:58:53 +00:00
parent 6247fa5bbc
commit 7d4e535c34

View File

@ -7,7 +7,6 @@ SET(CMAKE_CXX_STANDARD_REQUIRED ON)
SET(CMAKE_CXX_EXTENSIONS OFF) SET(CMAKE_CXX_EXTENSIONS OFF)
FIND_PACKAGE(Qt6 REQUIRED COMPONENTS Widgets) FIND_PACKAGE(Qt6 REQUIRED COMPONENTS Widgets)
QT_STANDARD_PROJECT_SETUP()
SET(PROJECT_FORMS SET(PROJECT_FORMS
uefitool.ui uefitool.ui
@ -118,4 +117,6 @@ SET_TARGET_PROPERTIES(UEFITool PROPERTIES
WIN32_EXECUTABLE ON WIN32_EXECUTABLE ON
MACOSX_BUNDLE ON MACOSX_BUNDLE ON
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist" MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist"
AUTOMOC ON
AUTOUIC ON
) )