Disable qml compilation only on Qt6.3 and up

This commit is contained in:
Nicolas Werner 2022-04-16 03:35:34 +02:00
parent dadaa10b93
commit f7e5b590b5
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -739,7 +739,7 @@ qt_target_qml_sources(nheko
qml/TimelineView.qml 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") set_target_properties(nheko PROPERTIES QT_QMLCACHEGEN_ARGUMENTS "--only-bytecode")
endif() endif()