From ef675152c37c04852fe8ef33e2362dc57b6bc7b1 Mon Sep 17 00:00:00 2001 From: Ghost Fox Date: Sun, 12 Oct 2025 10:05:08 +0200 Subject: [PATCH] Enable QML Type Compiler --- .gitignore | 1 + CMakeLists.txt | 1 + QYRComponents/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 02dff05..8bc1407 100755 --- a/.gitignore +++ b/.gitignore @@ -86,4 +86,5 @@ CMakeLists.txt.user* out/ .direnv +CMakePresets.json CMakeUserPresets.json \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a79d0b..b00abbe 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ qt_add_executable(appqyouradio qt_add_qml_module(appqyouradio URI qyouradio VERSION 1.0 + ENABLE_TYPE_COMPILER QML_FILES Main.qml ViewPlayer.qml diff --git a/QYRComponents/CMakeLists.txt b/QYRComponents/CMakeLists.txt index f7fcab7..5018062 100755 --- a/QYRComponents/CMakeLists.txt +++ b/QYRComponents/CMakeLists.txt @@ -15,6 +15,7 @@ qt_add_library(QYRComponents STATIC) qt_add_qml_module(QYRComponents URI QYRComponents VERSION 1.0 + ENABLE_TYPE_COMPILER RESOURCE_PREFIX /qt/qml QML_FILES Button.qml QML_FILES Colors.qml