public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qtdeclarative] epel9: 6.9.2
@ 2026-10-08 17:40 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-10-08 17:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/qt6-qtdeclarative
Branch : epel9
Commit : 12db15799988fbfe36d85214c8f687e7e72d398a
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2025-08-28T12:17:21+02:00
Stats : +7/-171 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qtdeclarative/c/12db15799988fbfe36d85214c8f687e7e72d398a?branch=epel9
Log:
6.9.2
---
diff --git a/.gitignore b/.gitignore
index a6d6408..10cd983 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,4 @@
/qtdeclarative-everywhere-src-6.9.0-rc.tar.xz
/qtdeclarative-everywhere-src-6.9.0.tar.xz
/qtdeclarative-everywhere-src-6.9.1.tar.xz
+/qtdeclarative-everywhere-src-6.9.2.tar.xz
diff --git a/qt6-qtdeclarative.spec b/qt6-qtdeclarative.spec
index e2b2460..27a674a 100644
--- a/qt6-qtdeclarative.spec
+++ b/qt6-qtdeclarative.spec
@@ -15,8 +15,8 @@
Summary: Qt6 - QtDeclarative component
Name: qt6-%{qt_module}
-Version: 6.9.1
-Release: 4%{?dist}
+Version: 6.9.2
+Release: 1%{?dist}
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
Url: http://www.qt.io
@@ -39,7 +39,6 @@ Source5: qv4global_p-multilib.h
# https://bugreports.qt.io/browse/QTBUG-87776
# https://bugzilla.redhat.com/show_bug.cgi?id=2330219
Patch0: qtdeclarative-cmake-do-not-automatically-link-against-qmlprivate.patch
-Patch1: qtdeclarative-qmlcachegen-fix-crash-on-unresolved-type-with-required-property.patch
## upstreamable patches
@@ -718,6 +717,9 @@ make check -k -C tests ||:
%endif
%changelog
+* Thu Aug 28 2025 Jan Grulich <jgrulich@redhat.com> - 6.9.2-1
+- 6.9.2
+
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
diff --git a/qtdeclarative-qmlcachegen-fix-crash-on-unresolved-type-with-required-property.patch b/qtdeclarative-qmlcachegen-fix-crash-on-unresolved-type-with-required-property.patch
deleted file mode 100644
index 1edb6d0..0000000
--- a/qtdeclarative-qmlcachegen-fix-crash-on-unresolved-type-with-required-property.patch
+++ /dev/null
@@ -1,167 +0,0 @@
-From 672e6777e8e6a8fd86c7877075e7a8aa0ea0a31a Mon Sep 17 00:00:00 2001
-From: Sami Shalayel <sami.shalayel@qt.io>
-Date: Thu, 05 Jun 2025 10:51:46 +0200
-Subject: [PATCH] qmlcachegen: fix crash on unresolved type with required property
-
-qmlcachegen can't resolve all types when importing QtQuick.Controls, so
-scopes from QtQuick.Controls might be unresolved.
-Check the scope before creating a fix suggesion when checking the
-required properties, and add a test that tests a file with required
-properties on an unresolved base type "Tumbler".
-
-This also fixes the crashes from QTBUG-137196 and QTBUG-136998 it seems.
-
-Pick-to: 6.8 6.5
-Fixes: QTBUG-137411
-Fixes: QTBUG-137196
-Fixes: QTBUG-136998
-Change-Id: Ibf461b54abf84ba13bff8c4833940c7359cf2d8e
-Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
-Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-(cherry picked from commit c9713681e8d0ee7b7a69d38c5972ee73e8ee4b78)
-Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-(cherry picked from commit 7e93137ea174d7ba02751d01fb4eba3d48cc97d9)
----
-
-diff --git a/src/qmlcompiler/qqmljsimportvisitor.cpp b/src/qmlcompiler/qqmljsimportvisitor.cpp
-index dad1b25..aa21d61 100644
---- a/src/qmlcompiler/qqmljsimportvisitor.cpp
-+++ b/src/qmlcompiler/qqmljsimportvisitor.cpp
-@@ -1041,16 +1041,17 @@
- : u"here"_s;
-
- if (!prevRequiredScope.isNull()) {
-- auto sourceScope = prevRequiredScope->baseType();
-- suggestion = QQmlJSFixSuggestion{
-- "%1:%2:%3: Property marked as required in %4."_L1
-- .arg(sourceScope->filePath())
-- .arg(sourceScope->sourceLocation().startLine)
-- .arg(sourceScope->sourceLocation().startColumn)
-- .arg(requiredScopeName),
-- sourceScope->sourceLocation()
-- };
-- suggestion->setFilename(sourceScope->filePath());
-+ if (auto sourceScope = prevRequiredScope->baseType()) {
-+ suggestion = QQmlJSFixSuggestion{
-+ "%1:%2:%3: Property marked as required in %4."_L1
-+ .arg(sourceScope->filePath())
-+ .arg(sourceScope->sourceLocation().startLine)
-+ .arg(sourceScope->sourceLocation().startColumn)
-+ .arg(requiredScopeName),
-+ sourceScope->sourceLocation()
-+ };
-+ suggestion->setFilename(sourceScope->filePath());
-+ }
- } else {
- message += " (marked as required by %1)"_L1.arg(requiredScopeName);
- }
-diff --git a/tests/auto/qml/qmlcachegen/data/crashes/buggyFixSuggestion.qml b/tests/auto/qml/qmlcachegen/data/crashes/buggyFixSuggestion.qml
-new file mode 100644
-index 0000000..f435d2e
---- /dev/null
-+++ b/tests/auto/qml/qmlcachegen/data/crashes/buggyFixSuggestion.qml
-@@ -0,0 +1,25 @@
-+import QtQuick
-+
-+Item {
-+ id: root
-+
-+ Item {
-+ id: inner
-+
-+ Tumbler {
-+ id: year
-+
-+ delegate: Rectangle {
-+ required property var modelData
-+ }
-+ }
-+
-+ Tumbler {
-+ id: month
-+
-+ delegate: Rectangle {
-+ required property var modelData
-+ }
-+ }
-+ }
-+}
-diff --git a/tests/auto/qml/qmlcachegen/tst_qmlcachegen.cpp b/tests/auto/qml/qmlcachegen/tst_qmlcachegen.cpp
-index b0108ef..8d45e67 100644
---- a/tests/auto/qml/qmlcachegen/tst_qmlcachegen.cpp
-+++ b/tests/auto/qml/qmlcachegen/tst_qmlcachegen.cpp
-@@ -73,6 +73,9 @@
- void aotstatsSerialization();
- void aotstatsGeneration_data();
- void aotstatsGeneration();
-+
-+ void crash_data();
-+ void crash();
- };
-
- // A wrapper around QQmlComponent to ensure the temporary reference counts
-@@ -121,6 +124,36 @@
- return proc.exitCode() == 0;
- }
-
-+static bool generateCpp(const QString &qmlFileName, QByteArray *capturedStderr = nullptr)
-+{
-+#if defined(QTEST_CROSS_COMPILED)
-+ QTest::qFail("You cannot call qmlcachegen on the target.", __FILE__, __LINE__);
-+ return false;
-+#endif
-+ QProcess proc;
-+ if (capturedStderr == nullptr)
-+ proc.setProcessChannelMode(QProcess::ForwardedChannels);
-+ proc.setProgram(QLibraryInfo::path(QLibraryInfo::LibraryExecutablesPath)
-+ + QLatin1String("/qmlcachegen"));
-+ QTemporaryDir outputDir;
-+ const QString outputFile = outputDir.filePath("output.cpp"_L1);
-+ proc.setArguments(QStringList{ "--resource-path"_L1, "qrc:/qt/qml/Crashes/testFile.qml"_L1,
-+ "-o"_L1, outputFile, qmlFileName });
-+ proc.start();
-+ if (!proc.waitForFinished())
-+ return false;
-+
-+ if (capturedStderr)
-+ *capturedStderr = proc.readAllStandardError();
-+
-+ if (!QFile::exists(outputFile))
-+ return false;
-+
-+ if (proc.exitStatus() != QProcess::NormalExit)
-+ return false;
-+ return proc.exitCode() == 0;
-+}
-+
- tst_qmlcachegen::tst_qmlcachegen()
- : QQmlDataTest(QT_QMLTEST_DATADIR)
- {
-@@ -1024,6 +1057,27 @@
- }
- }
-
-+void tst_qmlcachegen::crash_data()
-+{
-+ QTest::addColumn<QString>("fileName");
-+
-+ QTest::addRow("buggyFixSuggestion") << u"buggyFixSuggestion.qml"_s;
-+}
-+
-+void tst_qmlcachegen::crash()
-+{
-+#if defined(QTEST_CROSS_COMPILED)
-+ QSKIP("Cannot call qmlcachegen on cross-compiled target.");
-+#endif
-+
-+ QFETCH(QString, fileName);
-+ const QString filePath = testFile("crashes/" + fileName);
-+
-+ QFile file(filePath);
-+ QVERIFY(file.exists());
-+ QVERIFY(generateCpp(filePath));
-+}
-+
- const QQmlScriptString &ScriptStringProps::undef() const
- {
- return m_undef;
diff --git a/sources b/sources
index 6e958b7..5c68425 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (qtdeclarative-everywhere-src-6.9.1.tar.xz) = 665acf561f74373f5d220c7c7b8b32ded627d9d17bf709ad30b155863086c20c59f02032fbb8a8046bc6041576ff52ff67621a1b57e19657ad537e20aee024c4
+SHA512 (qtdeclarative-everywhere-src-6.9.2.tar.xz) = 75ec507c7c55089d91415f8365aef97456692dd563ac55571f73f1e5ace81e38a5515589b40a4e144790f9ab6ce4ed6150b26a79b62afc1bd6bad85d00306d1d
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 17:40 [rpms/qt6-qtdeclarative] epel9: 6.9.2 Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox