From f7e5b590b5ff15fa65140b9d6d912f04b3c54032 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 16 Apr 2022 03:35:34 +0200 Subject: [PATCH] Disable qml compilation only on Qt6.3 and up --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()