From 21e3c206147236961bc6b3174641904af9b41892 Mon Sep 17 00:00:00 2001 From: Dongxu Li Date: Fri, 1 Sep 2023 11:35:08 -0400 Subject: [PATCH] lcUI --- lcUI/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lcUI/CMakeLists.txt b/lcUI/CMakeLists.txt index 1a05d62b..2c43fc5c 100644 --- a/lcUI/CMakeLists.txt +++ b/lcUI/CMakeLists.txt @@ -7,6 +7,8 @@ set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # Find includes in corresponding build directories set(CMAKE_INCLUDE_CURRENT_DIR ON) +# to allow Qt qrc files +set(CMAKE_AUTORCC ON) # Instruct CMake to run moc automatically when needed. set(CMAKE_AUTOMOC ON) @@ -91,7 +93,6 @@ managers/uisettings.h managers/hookmanager.h managers/contextmenumanager.h managers/copymanager.h -managers/metainfomanager.cpp managers/metainfomanager.h) set(UI_srcs @@ -108,6 +109,7 @@ mainwindow.cpp windowmanager.cpp operationloader.cpp propertyeditor.cpp +ui/resource.qrc widgets/clicommand.cpp widgets/luascript.cpp widgets/toolbar.cpp