From 42634b749a3bebc22926a36c1148abe7ccb82829 Mon Sep 17 00:00:00 2001
From: Fatih Uzunoglu <fuzun54@outlook.com>
Date: Tue, 4 Feb 2025 18:18:46 +0200
Subject: [PATCH] qt: use qmlcachegen by default

---
 configure.ac | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index c92326fba4ce..722c00a840df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4300,9 +4300,11 @@ AS_IF([test "${enable_qt}" != "no"], [
 ])
 
 AC_ARG_ENABLE([qt-qml-cache],
-  AS_HELP_STRING([--enable-qt-qml-cache],
-    [enable qml cache generation]))
-AM_CONDITIONAL([HAVE_QMLCACHEGEN], [test "${enable_qt_qml_cache}" = "yes" && test "$QMLCACHEGEN" != "no"])
+  AS_HELP_STRING([--disable-qt-qml-cache],
+    [disable qml cache generation and basic error checking]),
+    [],
+    [enable_qml_cache="yes"])
+AM_CONDITIONAL([HAVE_QMLCACHEGEN], [test "${enable_qml_cache}" = "yes" && test "$QMLCACHEGEN" != "no"])
 
 AC_ARG_ENABLE([qt-qml-debug],
   AS_HELP_STRING([--enable-qt-qml-debug], [enable qml debugger]))
-- 
GitLab