From f17c2a73e17bb0a2309ae2aba76761f480206656 Mon Sep 17 00:00:00 2001 From: Orangerot Date: Thu, 15 Aug 2024 18:58:19 +0200 Subject: fix(CMakeLists): include Theme via qrc into the application --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b2c5d4b..bea6d40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,8 +5,11 @@ find_package(Qt6 6.2 COMPONENTS Core Quick Quick REQUIRED) qt_standard_project_setup(REQUIRES 6.5) set(CMAKE_CXX_STANDARD 17) - +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTOUIC ON) qt_add_executable(itat_challange_olympics src/main/main.cpp + application.qrc src/api/OlympicsAPI.cpp src/api/OlympicsAPI.h src/model/Sport.cpp -- cgit v1.2.3