Enable QML Type Compiler

This commit is contained in:
2025-10-12 10:05:08 +02:00
parent e54a3182a3
commit ef675152c3
3 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@@ -86,4 +86,5 @@ CMakeLists.txt.user*
out/ out/
.direnv .direnv
CMakePresets.json
CMakeUserPresets.json CMakeUserPresets.json

View File

@@ -15,6 +15,7 @@ qt_add_executable(appqyouradio
qt_add_qml_module(appqyouradio qt_add_qml_module(appqyouradio
URI qyouradio URI qyouradio
VERSION 1.0 VERSION 1.0
ENABLE_TYPE_COMPILER
QML_FILES QML_FILES
Main.qml Main.qml
ViewPlayer.qml ViewPlayer.qml

View File

@@ -15,6 +15,7 @@ qt_add_library(QYRComponents STATIC)
qt_add_qml_module(QYRComponents qt_add_qml_module(QYRComponents
URI QYRComponents URI QYRComponents
VERSION 1.0 VERSION 1.0
ENABLE_TYPE_COMPILER
RESOURCE_PREFIX /qt/qml RESOURCE_PREFIX /qt/qml
QML_FILES Button.qml QML_FILES Button.qml
QML_FILES Colors.qml QML_FILES Colors.qml