diff options
author | Nicolas Werner <nicolas.werner@ymail.com> | 2022-04-16 03:35:34 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@ymail.com> | 2022-04-23 03:10:27 +0200 |
commit | f7e5b590b5ff15fa65140b9d6d912f04b3c54032 (patch) | |
tree | fefce40589c462f7e656f93d3d941c7999cc38f4 | |
parent | dadaa10b9375374407bcd9b426568fa74e9ad7a8 (diff) |
Disable qml compilation only on Qt6.3 and up
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7eab6e9c..951e69f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -739,7 +739,7 @@ qt_target_qml_sources(nheko qml/TimelineView.qml ) -if (NOT COMPILE_QML) +if (NOT COMPILE_QML AND Qt6Widgets_VERSION VERSION_GREATER_EQUAL 6.3.0) set_target_properties(nheko PROPERTIES QT_QMLCACHEGEN_ARGUMENTS "--only-bytecode") endif() |