commit
6ef1617ece
@ -0,0 +1 @@
|
||||
SOURCES/qtdeclarative-everywhere-opensource-src-5.15.3.tar.xz
|
@ -0,0 +1 @@
|
||||
0384e6be3138fecbe858adc4d9fdb83970c033e6 SOURCES/qtdeclarative-everywhere-opensource-src-5.15.3.tar.xz
|
@ -0,0 +1,39 @@
|
||||
From a6ec2f93dba2a3e4ac07332c5adf4456348bf4a1 Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <albert.astals.cid@kdab.com>
|
||||
Date: Fri, 21 May 2021 13:30:41 +0200
|
||||
Subject: [PATCH 01/20] Give a warning when StyledText encounters a non
|
||||
supported entity
|
||||
|
||||
Pick-to: 6.1 5.15
|
||||
Change-Id: Iea8bdf25542cd404ee71141467ac1f1398a7d0df
|
||||
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
||||
(cherry picked from commit 8cd43e370040e23fcbd03ad64969e683055bd7d0)
|
||||
---
|
||||
src/quick/util/qquickstyledtext.cpp | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/quick/util/qquickstyledtext.cpp b/src/quick/util/qquickstyledtext.cpp
|
||||
index 660852ba83..d531fc9205 100644
|
||||
--- a/src/quick/util/qquickstyledtext.cpp
|
||||
+++ b/src/quick/util/qquickstyledtext.cpp
|
||||
@@ -46,6 +46,8 @@
|
||||
#include "qquickstyledtext_p.h"
|
||||
#include <QQmlContext>
|
||||
|
||||
+Q_LOGGING_CATEGORY(lcStyledText, "qt.quick.styledtext")
|
||||
+
|
||||
/*
|
||||
QQuickStyledText supports few tags:
|
||||
|
||||
@@ -566,6 +568,8 @@ void QQuickStyledTextPrivate::parseEntity(const QChar *&ch, const QString &textI
|
||||
textOut += QChar(34);
|
||||
else if (entity == QLatin1String("nbsp"))
|
||||
textOut += QChar(QChar::Nbsp);
|
||||
+ else
|
||||
+ qCWarning(lcStyledText) << "StyledText doesn't support entity" << entity;
|
||||
return;
|
||||
} else if (*ch == QLatin1Char(' ')) {
|
||||
QStringRef entity(&textIn, entityStart - 1, entityLength + 1);
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,33 @@
|
||||
From 0eb5ff2e97713e12318c00bab9f3605abb8592c2 Mon Sep 17 00:00:00 2001
|
||||
From: Antonio Rojas <arojas@archlinux.org>
|
||||
Date: Sun, 23 May 2021 14:32:46 +0200
|
||||
Subject: [PATCH 02/20] Add missing limits include to fix build with GCC 11
|
||||
|
||||
This is not required for Qt 6, since it is indirectly pulled via
|
||||
qanystrigview.h, but it is for Qt 5 (where qanystrigview does
|
||||
not exist) and, in any case, it is good to declare all used headers
|
||||
and not rely on them being implicitly pulled.
|
||||
|
||||
Pick-to: 6.1 5.15
|
||||
Change-Id: I97606ea493e723006759608b7d4c4f00632f340c
|
||||
Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
|
||||
(cherry picked from commit 367293b18ab0d0a0432c1c8ce445fee052e5eee5)
|
||||
---
|
||||
src/qmldebug/qqmlprofilerevent_p.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/qmldebug/qqmlprofilerevent_p.h b/src/qmldebug/qqmlprofilerevent_p.h
|
||||
index a7e37d1964..01b2f58f16 100644
|
||||
--- a/src/qmldebug/qqmlprofilerevent_p.h
|
||||
+++ b/src/qmldebug/qqmlprofilerevent_p.h
|
||||
@@ -48,6 +48,7 @@
|
||||
#include <QtCore/qmetatype.h>
|
||||
|
||||
#include <initializer_list>
|
||||
+#include <limits>
|
||||
#include <type_traits>
|
||||
|
||||
//
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,29 @@
|
||||
From 45621c00cae6b108b412e63388588be8bc4ccc44 Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <albert.astals.cid@kdab.com>
|
||||
Date: Fri, 21 May 2021 13:17:15 +0200
|
||||
Subject: [PATCH 03/20] Document that StyledText also supports and
|
||||
"
|
||||
|
||||
Change-Id: I1715f8ae8ec8d0fbaf6dbe2b8663cc169da663cd
|
||||
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
||||
(cherry picked from commit 5848c081c094a66e024493fc1e5c2569e06f73b6)
|
||||
---
|
||||
src/quick/items/qquicktext.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/quick/items/qquicktext.cpp b/src/quick/items/qquicktext.cpp
|
||||
index b18d03a20a..43c29d1f58 100644
|
||||
--- a/src/quick/items/qquicktext.cpp
|
||||
+++ b/src/quick/items/qquicktext.cpp
|
||||
@@ -2168,7 +2168,7 @@ void QQuickText::resetMaximumLineCount()
|
||||
<img src="" align="top,middle,bottom" width="" height=""> - inline images
|
||||
<ol type="">, <ul type=""> and <li> - ordered and unordered lists
|
||||
<pre></pre> - preformatted
|
||||
- > < &
|
||||
+ > < & "
|
||||
\endcode
|
||||
|
||||
\c Text.StyledText parser is strict, requiring tags to be correctly nested.
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,44 @@
|
||||
From bac7823a97ab901abc8da392ba23747feac4c933 Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <albert.astals.cid@kdab.com>
|
||||
Date: Fri, 21 May 2021 13:42:35 +0200
|
||||
Subject: [PATCH 04/20] Support ' in styled text
|
||||
|
||||
Pick-to: 6.1 5.15
|
||||
Change-Id: I4a8db963e52a7899ab1796f9a560e8029cc1c929
|
||||
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
||||
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
||||
(cherry picked from commit 96b528efcba1226d2980828d1255160bdceae4cf)
|
||||
---
|
||||
src/quick/items/qquicktext.cpp | 2 +-
|
||||
src/quick/util/qquickstyledtext.cpp | 2 ++
|
||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/quick/items/qquicktext.cpp b/src/quick/items/qquicktext.cpp
|
||||
index 43c29d1f58..459dea8f74 100644
|
||||
--- a/src/quick/items/qquicktext.cpp
|
||||
+++ b/src/quick/items/qquicktext.cpp
|
||||
@@ -2168,7 +2168,7 @@ void QQuickText::resetMaximumLineCount()
|
||||
<img src="" align="top,middle,bottom" width="" height=""> - inline images
|
||||
<ol type="">, <ul type=""> and <li> - ordered and unordered lists
|
||||
<pre></pre> - preformatted
|
||||
- > < & "
|
||||
+ > < & " '
|
||||
\endcode
|
||||
|
||||
\c Text.StyledText parser is strict, requiring tags to be correctly nested.
|
||||
diff --git a/src/quick/util/qquickstyledtext.cpp b/src/quick/util/qquickstyledtext.cpp
|
||||
index d531fc9205..a25af90414 100644
|
||||
--- a/src/quick/util/qquickstyledtext.cpp
|
||||
+++ b/src/quick/util/qquickstyledtext.cpp
|
||||
@@ -564,6 +564,8 @@ void QQuickStyledTextPrivate::parseEntity(const QChar *&ch, const QString &textI
|
||||
textOut += QChar(60);
|
||||
else if (entity == QLatin1String("amp"))
|
||||
textOut += QChar(38);
|
||||
+ else if (entity == QLatin1String("apos"))
|
||||
+ textOut += QChar(39);
|
||||
else if (entity == QLatin1String("quot"))
|
||||
textOut += QChar(34);
|
||||
else if (entity == QLatin1String("nbsp"))
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,35 @@
|
||||
From d7d355175aa1e625e5b59b4494e37aeac9c849d5 Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <albert.astals.cid@kdab.com>
|
||||
Date: Thu, 17 Jun 2021 16:32:28 +0200
|
||||
Subject: [PATCH 05/20] Remove unused QPointer<QQuickPointerMask>
|
||||
|
||||
Change-Id: I009fa6bbd8599dc3bb2e810176fe20e70ed50851
|
||||
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
||||
(cherry picked from commit ac03b4b8ee9cc8d4522e0c8cf1018ff086f80c1b)
|
||||
---
|
||||
src/quick/items/qquickmousearea_p_p.h | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/src/quick/items/qquickmousearea_p_p.h b/src/quick/items/qquickmousearea_p_p.h
|
||||
index fba383e268..0d63618622 100644
|
||||
--- a/src/quick/items/qquickmousearea_p_p.h
|
||||
+++ b/src/quick/items/qquickmousearea_p_p.h
|
||||
@@ -61,7 +61,6 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
class QQuickMouseEvent;
|
||||
class QQuickMouseArea;
|
||||
-class QQuickPointerMask;
|
||||
class QQuickMouseAreaPrivate : public QQuickItemPrivate
|
||||
{
|
||||
Q_DECLARE_PUBLIC(QQuickMouseArea)
|
||||
@@ -100,7 +99,6 @@ public:
|
||||
#if QT_CONFIG(quick_draganddrop)
|
||||
QQuickDrag *drag;
|
||||
#endif
|
||||
- QPointer<QQuickPointerMask> mask;
|
||||
QPointF startScene;
|
||||
QPointF targetStartPos;
|
||||
QPointF lastPos;
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,112 @@
|
||||
From 31179b578276f10841fcb60a876ea757f9ca82ff Mon Sep 17 00:00:00 2001
|
||||
From: Aleix Pol <aleixpol@kde.org>
|
||||
Date: Tue, 21 Sep 2021 00:10:26 +0200
|
||||
Subject: [PATCH 07/20] QQuickLoader: Do not incubate if the source arrives
|
||||
after setActive(false)
|
||||
|
||||
Otherwise we end up in the crazy place of active being false but item
|
||||
being non-null and forces us to workaround within the apps.
|
||||
|
||||
Change-Id: I88c27c4b00ccec8b8e0c05a8e10b44fcabfc2e30
|
||||
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
||||
(cherry picked from commit e78c068700fa74ab3aca6a23ab2450563b1c3a5c)
|
||||
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
||||
---
|
||||
src/quick/items/qquickloader.cpp | 3 +++
|
||||
.../data/loader-async-race-rect.qml | 10 ++++++++++
|
||||
.../qquickloader/data/loader-async-race.qml | 14 ++++++++++++++
|
||||
.../quick/qquickloader/tst_qquickloader.cpp | 19 +++++++++++++++++++
|
||||
4 files changed, 46 insertions(+)
|
||||
create mode 100644 tests/auto/quick/qquickloader/data/loader-async-race-rect.qml
|
||||
create mode 100644 tests/auto/quick/qquickloader/data/loader-async-race.qml
|
||||
|
||||
diff --git a/src/quick/items/qquickloader.cpp b/src/quick/items/qquickloader.cpp
|
||||
index cb4f79a3c2..7fbe66fdda 100644
|
||||
--- a/src/quick/items/qquickloader.cpp
|
||||
+++ b/src/quick/items/qquickloader.cpp
|
||||
@@ -737,6 +737,9 @@ void QQuickLoaderPrivate::_q_sourceLoaded()
|
||||
return;
|
||||
}
|
||||
|
||||
+ if (!active)
|
||||
+ return;
|
||||
+
|
||||
QQmlContext *creationContext = component->creationContext();
|
||||
if (!creationContext) creationContext = qmlContext(q);
|
||||
itemContext = new QQmlContext(creationContext);
|
||||
diff --git a/tests/auto/quick/qquickloader/data/loader-async-race-rect.qml b/tests/auto/quick/qquickloader/data/loader-async-race-rect.qml
|
||||
new file mode 100644
|
||||
index 0000000000..a56dcea5ad
|
||||
--- /dev/null
|
||||
+++ b/tests/auto/quick/qquickloader/data/loader-async-race-rect.qml
|
||||
@@ -0,0 +1,10 @@
|
||||
+import QtQuick 2.15
|
||||
+
|
||||
+Rectangle {
|
||||
+ anchors.fill: parent
|
||||
+ color: "blue"
|
||||
+ Item {
|
||||
+ Item {
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
diff --git a/tests/auto/quick/qquickloader/data/loader-async-race.qml b/tests/auto/quick/qquickloader/data/loader-async-race.qml
|
||||
new file mode 100644
|
||||
index 0000000000..8ba625c5c1
|
||||
--- /dev/null
|
||||
+++ b/tests/auto/quick/qquickloader/data/loader-async-race.qml
|
||||
@@ -0,0 +1,14 @@
|
||||
+import QtQuick 2.15
|
||||
+
|
||||
+Item {
|
||||
+ id: root
|
||||
+ Component.onCompleted: {
|
||||
+ myloader.active = false
|
||||
+ }
|
||||
+ Loader {
|
||||
+ id: myloader
|
||||
+ anchors.fill: parent
|
||||
+ asynchronous: true
|
||||
+ source: "loader-async-race-rect.qml"
|
||||
+ }
|
||||
+}
|
||||
diff --git a/tests/auto/quick/qquickloader/tst_qquickloader.cpp b/tests/auto/quick/qquickloader/tst_qquickloader.cpp
|
||||
index 0f6c811adb..dddacbaa0b 100644
|
||||
--- a/tests/auto/quick/qquickloader/tst_qquickloader.cpp
|
||||
+++ b/tests/auto/quick/qquickloader/tst_qquickloader.cpp
|
||||
@@ -132,6 +132,7 @@ private slots:
|
||||
void statusChangeOnlyEmittedOnce();
|
||||
|
||||
void setSourceAndCheckStatus();
|
||||
+ void asyncLoaderRace();
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(QList<QQmlError>)
|
||||
@@ -1496,6 +1497,24 @@ void tst_QQuickLoader::setSourceAndCheckStatus()
|
||||
QCOMPARE(loader->status(), QQuickLoader::Null);
|
||||
}
|
||||
|
||||
+void tst_QQuickLoader::asyncLoaderRace()
|
||||
+{
|
||||
+ QQmlApplicationEngine engine;
|
||||
+ auto url = testFileUrl("loader-async-race.qml");
|
||||
+ engine.load(url);
|
||||
+ auto root = engine.rootObjects().at(0);
|
||||
+ QVERIFY(root);
|
||||
+
|
||||
+ QQuickLoader *loader = root->findChild<QQuickLoader *>();
|
||||
+ QCOMPARE(loader->active(), false);
|
||||
+ QCOMPARE(loader->status(), QQuickLoader::Null);
|
||||
+ QCOMPARE(loader->item(), nullptr);
|
||||
+
|
||||
+ QSignalSpy spy(loader, &QQuickLoader::itemChanged);
|
||||
+ QVERIFY(!spy.wait(100));
|
||||
+ QCOMPARE(loader->item(), nullptr);
|
||||
+}
|
||||
+
|
||||
QTEST_MAIN(tst_QQuickLoader)
|
||||
|
||||
#include "tst_qquickloader.moc"
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,196 @@
|
||||
From 4fd8f31beb6ce07207cc8e934c7f4caa6abd8a54 Mon Sep 17 00:00:00 2001
|
||||
From: Aleix Pol <aleixpol@kde.org>
|
||||
Date: Thu, 23 Sep 2021 03:43:04 +0200
|
||||
Subject: [PATCH 08/20] QQmlDelegateModel: Refresh the view when a column is
|
||||
added at 0
|
||||
|
||||
It can happen that a model reports n>0 rows but columns=0 (See
|
||||
QConcatenateTablesProxyModel). In those cases we would render glitchy
|
||||
items until the elements are marked as dirty.
|
||||
|
||||
Change-Id: I615c9cacbb1b6f9dee3898b03476605e5ac39d0a
|
||||
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
||||
(cherry picked from commit ec9251efb918f37971aeefa1f687d137d037ff12)
|
||||
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
||||
Signed-off-by: Aleix Pol <aleixpol@kde.org>
|
||||
---
|
||||
src/qmlmodels/qqmldelegatemodel.cpp | 44 +++++++++++++++++++
|
||||
src/qmlmodels/qqmldelegatemodel_p.h | 3 ++
|
||||
.../data/redrawUponColumnChange.qml | 11 +++++
|
||||
.../qqmldelegatemodel/qqmldelegatemodel.pro | 2 +-
|
||||
.../tst_qqmldelegatemodel.cpp | 29 ++++++++++++
|
||||
5 files changed, 88 insertions(+), 1 deletion(-)
|
||||
create mode 100644 tests/auto/qml/qqmldelegatemodel/data/redrawUponColumnChange.qml
|
||||
|
||||
diff --git a/src/qmlmodels/qqmldelegatemodel.cpp b/src/qmlmodels/qqmldelegatemodel.cpp
|
||||
index e6aff955fe..381726291d 100644
|
||||
--- a/src/qmlmodels/qqmldelegatemodel.cpp
|
||||
+++ b/src/qmlmodels/qqmldelegatemodel.cpp
|
||||
@@ -389,6 +389,12 @@ void QQmlDelegateModelPrivate::connectToAbstractItemModel()
|
||||
q, QQmlDelegateModel, SLOT(_q_rowsRemoved(QModelIndex,int,int)));
|
||||
qmlobject_connect(aim, QAbstractItemModel, SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int)),
|
||||
q, QQmlDelegateModel, SLOT(_q_rowsAboutToBeRemoved(QModelIndex,int,int)));
|
||||
+ qmlobject_connect(aim, QAbstractItemModel, SIGNAL(columnsInserted(QModelIndex,int,int)),
|
||||
+ q, QQmlDelegateModel, SLOT(_q_columnsInserted(QModelIndex,int,int)));
|
||||
+ qmlobject_connect(aim, QAbstractItemModel, SIGNAL(columnsRemoved(QModelIndex,int,int)),
|
||||
+ q, QQmlDelegateModel, SLOT(_q_columnsRemoved(QModelIndex,int,int)));
|
||||
+ qmlobject_connect(aim, QAbstractItemModel, SIGNAL(columnsMoved(QModelIndex,int,int,QModelIndex,int)),
|
||||
+ q, QQmlDelegateModel, SLOT(_q_columnsMoved(QModelIndex,int,int,QModelIndex,int)));
|
||||
qmlobject_connect(aim, QAbstractItemModel, SIGNAL(dataChanged(QModelIndex,QModelIndex,QVector<int>)),
|
||||
q, QQmlDelegateModel, SLOT(_q_dataChanged(QModelIndex,QModelIndex,QVector<int>)));
|
||||
qmlobject_connect(aim, QAbstractItemModel, SIGNAL(rowsMoved(QModelIndex,int,int,QModelIndex,int)),
|
||||
@@ -413,6 +419,12 @@ void QQmlDelegateModelPrivate::disconnectFromAbstractItemModel()
|
||||
q, SLOT(_q_rowsAboutToBeRemoved(QModelIndex,int,int)));
|
||||
QObject::disconnect(aim, SIGNAL(rowsRemoved(QModelIndex,int,int)),
|
||||
q, SLOT(_q_rowsRemoved(QModelIndex,int,int)));
|
||||
+ QObject::disconnect(aim, SIGNAL(columnsInserted(QModelIndex,int,int)), q,
|
||||
+ SLOT(_q_columnsInserted(QModelIndex,int,int)));
|
||||
+ QObject::disconnect(aim, SIGNAL(columnsRemoved(QModelIndex,int,int)), q,
|
||||
+ SLOT(_q_columnsRemoved(QModelIndex,int,int)));
|
||||
+ QObject::disconnect(aim, SIGNAL(columnsMoved(QModelIndex,int,int,QModelIndex,int)), q,
|
||||
+ SLOT(_q_columnsMoved(QModelIndex,int,int,QModelIndex,int)));
|
||||
QObject::disconnect(aim, SIGNAL(dataChanged(QModelIndex,QModelIndex,QVector<int>)),
|
||||
q, SLOT(_q_dataChanged(QModelIndex,QModelIndex,QVector<int>)));
|
||||
QObject::disconnect(aim, SIGNAL(rowsMoved(QModelIndex,int,int,QModelIndex,int)),
|
||||
@@ -1958,6 +1970,38 @@ void QQmlDelegateModel::_q_rowsMoved(
|
||||
}
|
||||
}
|
||||
|
||||
+void QQmlDelegateModel::_q_columnsInserted(const QModelIndex &parent, int begin, int end)
|
||||
+{
|
||||
+ Q_D(QQmlDelegateModel);
|
||||
+ Q_UNUSED(end);
|
||||
+ if (parent == d->m_adaptorModel.rootIndex && begin == 0) {
|
||||
+ // mark all items as changed
|
||||
+ _q_itemsChanged(0, d->m_count, QVector<int>());
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+void QQmlDelegateModel::_q_columnsRemoved(const QModelIndex &parent, int begin, int end)
|
||||
+{
|
||||
+ Q_D(QQmlDelegateModel);
|
||||
+ Q_UNUSED(end);
|
||||
+ if (parent == d->m_adaptorModel.rootIndex && begin == 0) {
|
||||
+ // mark all items as changed
|
||||
+ _q_itemsChanged(0, d->m_count, QVector<int>());
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+void QQmlDelegateModel::_q_columnsMoved(const QModelIndex &parent, int start, int end,
|
||||
+ const QModelIndex &destination, int column)
|
||||
+{
|
||||
+ Q_D(QQmlDelegateModel);
|
||||
+ Q_UNUSED(end);
|
||||
+ if ((parent == d->m_adaptorModel.rootIndex && start == 0)
|
||||
+ || (destination == d->m_adaptorModel.rootIndex && column == 0)) {
|
||||
+ // mark all items as changed
|
||||
+ _q_itemsChanged(0, d->m_count, QVector<int>());
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
void QQmlDelegateModel::_q_dataChanged(const QModelIndex &begin, const QModelIndex &end, const QVector<int> &roles)
|
||||
{
|
||||
Q_D(QQmlDelegateModel);
|
||||
diff --git a/src/qmlmodels/qqmldelegatemodel_p.h b/src/qmlmodels/qqmldelegatemodel_p.h
|
||||
index 8aab4badca..d140bfbaaf 100644
|
||||
--- a/src/qmlmodels/qqmldelegatemodel_p.h
|
||||
+++ b/src/qmlmodels/qqmldelegatemodel_p.h
|
||||
@@ -152,6 +152,9 @@ private Q_SLOTS:
|
||||
void _q_itemsMoved(int from, int to, int count);
|
||||
void _q_modelReset();
|
||||
void _q_rowsInserted(const QModelIndex &,int,int);
|
||||
+ void _q_columnsInserted(const QModelIndex &, int, int);
|
||||
+ void _q_columnsRemoved(const QModelIndex &, int, int);
|
||||
+ void _q_columnsMoved(const QModelIndex &, int, int, const QModelIndex &, int);
|
||||
void _q_rowsAboutToBeRemoved(const QModelIndex &parent, int begin, int end);
|
||||
void _q_rowsRemoved(const QModelIndex &,int,int);
|
||||
void _q_rowsMoved(const QModelIndex &, int, int, const QModelIndex &, int);
|
||||
diff --git a/tests/auto/qml/qqmldelegatemodel/data/redrawUponColumnChange.qml b/tests/auto/qml/qqmldelegatemodel/data/redrawUponColumnChange.qml
|
||||
new file mode 100644
|
||||
index 0000000000..206133bb39
|
||||
--- /dev/null
|
||||
+++ b/tests/auto/qml/qqmldelegatemodel/data/redrawUponColumnChange.qml
|
||||
@@ -0,0 +1,11 @@
|
||||
+import QtQuick 2.8
|
||||
+
|
||||
+ListView {
|
||||
+ id: root
|
||||
+ width: 200
|
||||
+ height: 200
|
||||
+
|
||||
+ delegate: Text {
|
||||
+ text: display
|
||||
+ }
|
||||
+}
|
||||
diff --git a/tests/auto/qml/qqmldelegatemodel/qqmldelegatemodel.pro b/tests/auto/qml/qqmldelegatemodel/qqmldelegatemodel.pro
|
||||
index 7fdd3ab5f1..fbd72f6a44 100644
|
||||
--- a/tests/auto/qml/qqmldelegatemodel/qqmldelegatemodel.pro
|
||||
+++ b/tests/auto/qml/qqmldelegatemodel/qqmldelegatemodel.pro
|
||||
@@ -2,7 +2,7 @@ CONFIG += testcase
|
||||
TARGET = tst_qqmldelegatemodel
|
||||
macos:CONFIG -= app_bundle
|
||||
|
||||
-QT += qml testlib core-private qml-private qmlmodels-private
|
||||
+QT += qml quick testlib core-private qml-private qmlmodels-private
|
||||
|
||||
SOURCES += tst_qqmldelegatemodel.cpp
|
||||
|
||||
diff --git a/tests/auto/qml/qqmldelegatemodel/tst_qqmldelegatemodel.cpp b/tests/auto/qml/qqmldelegatemodel/tst_qqmldelegatemodel.cpp
|
||||
index 87f42c0c8a..1d338ac330 100644
|
||||
--- a/tests/auto/qml/qqmldelegatemodel/tst_qqmldelegatemodel.cpp
|
||||
+++ b/tests/auto/qml/qqmldelegatemodel/tst_qqmldelegatemodel.cpp
|
||||
@@ -27,8 +27,12 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtTest/qtest.h>
|
||||
+#include <QtCore/QConcatenateTablesProxyModel>
|
||||
+#include <QtGui/QStandardItemModel>
|
||||
#include <QtQml/qqmlcomponent.h>
|
||||
#include <QtQmlModels/private/qqmldelegatemodel_p.h>
|
||||
+#include <QtQuick/qquickview.h>
|
||||
+#include <QtQuick/qquickitem.h>
|
||||
|
||||
#include "../../shared/util.h"
|
||||
|
||||
@@ -42,6 +46,7 @@ public:
|
||||
private slots:
|
||||
void valueWithoutCallingObjectFirst_data();
|
||||
void valueWithoutCallingObjectFirst();
|
||||
+ void redrawUponColumnChange();
|
||||
};
|
||||
|
||||
class AbstractItemModel : public QAbstractItemModel
|
||||
@@ -134,6 +139,30 @@ void tst_QQmlDelegateModel::valueWithoutCallingObjectFirst()
|
||||
QCOMPARE(model->variantValue(index, role), expectedValue);
|
||||
}
|
||||
|
||||
+void tst_QQmlDelegateModel::redrawUponColumnChange()
|
||||
+{
|
||||
+ QStandardItemModel m1;
|
||||
+ m1.appendRow({
|
||||
+ new QStandardItem("Banana"),
|
||||
+ new QStandardItem("Coconut"),
|
||||
+ });
|
||||
+
|
||||
+ QQuickView view(testFileUrl("redrawUponColumnChange.qml"));
|
||||
+ QCOMPARE(view.status(), QQuickView::Ready);
|
||||
+ view.show();
|
||||
+ QQuickItem *root = view.rootObject();
|
||||
+ root->setProperty("model", QVariant::fromValue<QObject *>(&m1));
|
||||
+
|
||||
+ QObject *item = root->property("currentItem").value<QObject *>();
|
||||
+ QVERIFY(item);
|
||||
+ QCOMPARE(item->property("text").toString(), "Banana");
|
||||
+
|
||||
+ QVERIFY(root);
|
||||
+ m1.removeColumn(0);
|
||||
+
|
||||
+ QCOMPARE(item->property("text").toString(), "Coconut");
|
||||
+}
|
||||
+
|
||||
QTEST_MAIN(tst_QQmlDelegateModel)
|
||||
|
||||
#include "tst_qqmldelegatemodel.moc"
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,119 @@
|
||||
From 00dd37619f35db3cddb2ac59198d3bde7ce73cd7 Mon Sep 17 00:00:00 2001
|
||||
From: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
||||
Date: Sun, 10 Oct 2021 21:04:21 +0300
|
||||
Subject: [PATCH 09/20] Fix sweep step for tainted QObject JavaScript wrappers
|
||||
|
||||
Currently, whenever the garbage collector runs, it will destroy all
|
||||
valid tainted wrappers.
|
||||
|
||||
Only null or undefined wrappers will be preserved in the
|
||||
m_multiplyWrappedQObjects map.
|
||||
|
||||
It seems like "!" was overlooked in
|
||||
3b5d37ce3841c4bfdf1c629d33f0e33b881b47fb. Prior to that change, it
|
||||
was "!it.value()->markBit()", so calling erase() in the then branch
|
||||
did make sense. But with "!it.value().isNullOrUndefined()", erase()
|
||||
will be called for every valid wrapper, which is the opposite what we
|
||||
want.
|
||||
|
||||
Pick-to: 5.15 6.2
|
||||
Change-Id: I2bf2630f538af8cbd4bfffcff29d67be6c278265
|
||||
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
||||
(cherry picked from commit e6b2f88d892dcf396580a61662f569bf69d6d9d1)
|
||||
---
|
||||
src/qml/memory/qv4mm.cpp | 2 +-
|
||||
tests/auto/qml/qjsengine/tst_qjsengine.cpp | 39 ++++++++++++++++++++++
|
||||
tests/auto/qml/qv4mm/tst_qv4mm.cpp | 6 ++--
|
||||
3 files changed, 43 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/qml/memory/qv4mm.cpp b/src/qml/memory/qv4mm.cpp
|
||||
index 06caf04e5a..da149a67c4 100644
|
||||
--- a/src/qml/memory/qv4mm.cpp
|
||||
+++ b/src/qml/memory/qv4mm.cpp
|
||||
@@ -981,7 +981,7 @@ void MemoryManager::sweep(bool lastSweep, ClassDestroyStatsCallback classCountPt
|
||||
|
||||
if (MultiplyWrappedQObjectMap *multiplyWrappedQObjects = engine->m_multiplyWrappedQObjects) {
|
||||
for (MultiplyWrappedQObjectMap::Iterator it = multiplyWrappedQObjects->begin(); it != multiplyWrappedQObjects->end();) {
|
||||
- if (!it.value().isNullOrUndefined())
|
||||
+ if (it.value().isNullOrUndefined())
|
||||
it = multiplyWrappedQObjects->erase(it);
|
||||
else
|
||||
++it;
|
||||
diff --git a/tests/auto/qml/qjsengine/tst_qjsengine.cpp b/tests/auto/qml/qjsengine/tst_qjsengine.cpp
|
||||
index 3b7d74df63..b75bf820d5 100644
|
||||
--- a/tests/auto/qml/qjsengine/tst_qjsengine.cpp
|
||||
+++ b/tests/auto/qml/qjsengine/tst_qjsengine.cpp
|
||||
@@ -102,6 +102,7 @@ private slots:
|
||||
void valueConversion_RegularExpression();
|
||||
void castWithMultipleInheritance();
|
||||
void collectGarbage();
|
||||
+ void collectGarbageNestedWrappersTwoEngines();
|
||||
void gcWithNestedDataStructure();
|
||||
void stacktrace();
|
||||
void numberParsing_data();
|
||||
@@ -1809,6 +1810,44 @@ void tst_QJSEngine::collectGarbage()
|
||||
QVERIFY(ptr.isNull());
|
||||
}
|
||||
|
||||
+class TestObjectContainer : public QObject
|
||||
+{
|
||||
+ Q_OBJECT
|
||||
+ Q_PROPERTY(QObject *dummy MEMBER m_dummy CONSTANT)
|
||||
+
|
||||
+public:
|
||||
+ TestObjectContainer() : m_dummy(new QObject(this)) {}
|
||||
+
|
||||
+private:
|
||||
+ QObject *m_dummy;
|
||||
+};
|
||||
+
|
||||
+void tst_QJSEngine::collectGarbageNestedWrappersTwoEngines()
|
||||
+{
|
||||
+ QJSEngine engine1;
|
||||
+ QJSEngine engine2;
|
||||
+
|
||||
+ TestObjectContainer container;
|
||||
+ QQmlEngine::setObjectOwnership(&container, QQmlEngine::CppOwnership);
|
||||
+
|
||||
+ engine1.globalObject().setProperty("foobar", engine1.newQObject(&container));
|
||||
+ engine2.globalObject().setProperty("foobar", engine2.newQObject(&container));
|
||||
+
|
||||
+ engine1.evaluate("foobar.dummy.baz = 42");
|
||||
+ engine2.evaluate("foobar.dummy.baz = 43");
|
||||
+
|
||||
+ QCOMPARE(engine1.evaluate("foobar.dummy.baz").toInt(), 42);
|
||||
+ QCOMPARE(engine2.evaluate("foobar.dummy.baz").toInt(), 43);
|
||||
+
|
||||
+ engine1.collectGarbage();
|
||||
+ engine2.collectGarbage();
|
||||
+
|
||||
+ // The GC should not collect dummy object wrappers neither in engine1 nor engine2, we
|
||||
+ // verify that by checking whether the baz property still has its previous value.
|
||||
+ QCOMPARE(engine1.evaluate("foobar.dummy.baz").toInt(), 42);
|
||||
+ QCOMPARE(engine2.evaluate("foobar.dummy.baz").toInt(), 43);
|
||||
+}
|
||||
+
|
||||
void tst_QJSEngine::gcWithNestedDataStructure()
|
||||
{
|
||||
// The GC must be able to traverse deeply nested objects, otherwise this
|
||||
diff --git a/tests/auto/qml/qv4mm/tst_qv4mm.cpp b/tests/auto/qml/qv4mm/tst_qv4mm.cpp
|
||||
index 5d635aa63b..824fd89e5b 100644
|
||||
--- a/tests/auto/qml/qv4mm/tst_qv4mm.cpp
|
||||
+++ b/tests/auto/qml/qv4mm/tst_qv4mm.cpp
|
||||
@@ -76,10 +76,10 @@ void tst_qv4mm::multiWrappedQObjects()
|
||||
QCOMPARE(engine1.memoryManager->m_pendingFreedObjectWrapperValue.size(), 1);
|
||||
QCOMPARE(engine2.memoryManager->m_pendingFreedObjectWrapperValue.size(), 0);
|
||||
|
||||
- // Moves the additional WeakValue from m_multiplyWrappedQObjects to
|
||||
- // m_pendingFreedObjectWrapperValue. It's still alive after all.
|
||||
+ // The additional WeakValue from m_multiplyWrappedQObjects hasn't been moved
|
||||
+ // to m_pendingFreedObjectWrapperValue yet. It's still alive after all.
|
||||
engine1.memoryManager->runGC();
|
||||
- QCOMPARE(engine1.memoryManager->m_pendingFreedObjectWrapperValue.size(), 2);
|
||||
+ QCOMPARE(engine1.memoryManager->m_pendingFreedObjectWrapperValue.size(), 1);
|
||||
|
||||
// engine2 doesn't own the object as engine1 was the first to wrap it above.
|
||||
// Therefore, no effect here.
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,483 @@
|
||||
From 55f07163f84badcc9aa0805f1523ef43a7225778 Mon Sep 17 00:00:00 2001
|
||||
From: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
||||
Date: Tue, 12 Oct 2021 13:13:01 +0200
|
||||
Subject: [PATCH 10/20] Fix distorted text with subpixel matrix translation
|
||||
|
||||
We would pixel-align native text *before* applying the
|
||||
model-view matrix, which would cause GL_NEAREST artifacts to
|
||||
show up when the text was positioned at a subpixel offset in
|
||||
some cases. Instead, we pixel-align the coordinates after mapping
|
||||
them to the view frustum, but before applying the projection to the
|
||||
screen.
|
||||
|
||||
To make it easier to modify the buffer layout for the shaders the
|
||||
next time, this also adds some constants for offsets.
|
||||
|
||||
[ChangeLog][Text] Fixed an issue where text using NativeRendering
|
||||
would look slightly skewed if it was inside a parent that had
|
||||
been positioned at a subpixel offset.
|
||||
|
||||
Pick-to: 5.15 6.2
|
||||
Fixes: QTBUG-96112
|
||||
Fixes: QTBUG-83626
|
||||
Task-number: QTBUG-55638
|
||||
Change-Id: Ifb785ad5830093df94afc75a7bc288e24ca7aa38
|
||||
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
||||
(cherry picked from commit b21948f5e811ce1b7abf065bc48af61a231e86f4)
|
||||
---
|
||||
.../scenegraph/qsgdefaultglyphnode_p.cpp | 46 ++++++----
|
||||
.../scenegraph/shaders_ng/24bittextmask.frag | 5 +-
|
||||
.../scenegraph/shaders_ng/32bitcolortext.frag | 5 +-
|
||||
.../scenegraph/shaders_ng/8bittextmask.frag | 3 +-
|
||||
.../scenegraph/shaders_ng/8bittextmask_a.frag | 3 +-
|
||||
.../scenegraph/shaders_ng/outlinedtext.frag | 5 +-
|
||||
.../scenegraph/shaders_ng/outlinedtext.vert | 9 +-
|
||||
.../scenegraph/shaders_ng/outlinedtext_a.frag | 5 +-
|
||||
.../scenegraph/shaders_ng/styledtext.frag | 3 +-
|
||||
.../scenegraph/shaders_ng/styledtext.vert | 7 +-
|
||||
.../scenegraph/shaders_ng/styledtext_a.frag | 3 +-
|
||||
src/quick/scenegraph/shaders_ng/textmask.frag | 3 +-
|
||||
src/quick/scenegraph/shaders_ng/textmask.vert | 7 +-
|
||||
...text_nativerendering_subpixelpositions.qml | 91 +++++++++++++++++++
|
||||
14 files changed, 155 insertions(+), 40 deletions(-)
|
||||
create mode 100644 tests/manual/scenegraph_lancelot/data/text/text_nativerendering_subpixelpositions.qml
|
||||
|
||||
diff --git a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
|
||||
index 3c60f830de..0fd6581dc4 100644
|
||||
--- a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
|
||||
+++ b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
|
||||
@@ -428,6 +428,18 @@ QSGTextMaskRhiShader::QSGTextMaskRhiShader(QFontEngine::GlyphFormat glyphFormat)
|
||||
QStringLiteral(":/qt-project.org/scenegraph/shaders_ng/textmask.frag.qsb"));
|
||||
}
|
||||
|
||||
+enum UbufOffset {
|
||||
+ ModelViewMatrixOffset = 0,
|
||||
+ ProjectionMatrixOffset = ModelViewMatrixOffset + 64,
|
||||
+ ColorOffset = ProjectionMatrixOffset + 64,
|
||||
+ TextureScaleOffset = ColorOffset + 16,
|
||||
+ DprOffset = TextureScaleOffset + 8,
|
||||
+
|
||||
+ // + 1 float padding (vec4 must be aligned to 16)
|
||||
+ StyleColorOffset = DprOffset + 4 + 4,
|
||||
+ ShiftOffset = StyleColorOffset + 16
|
||||
+};
|
||||
+
|
||||
bool QSGTextMaskRhiShader::updateUniformData(RenderState &state,
|
||||
QSGMaterial *newMaterial, QSGMaterial *oldMaterial)
|
||||
{
|
||||
@@ -443,11 +455,14 @@ bool QSGTextMaskRhiShader::updateUniformData(RenderState &state,
|
||||
|
||||
bool changed = false;
|
||||
QByteArray *buf = state.uniformData();
|
||||
- Q_ASSERT(buf->size() >= 92);
|
||||
+ Q_ASSERT(buf->size() >= DprOffset + 4);
|
||||
|
||||
if (state.isMatrixDirty()) {
|
||||
- const QMatrix4x4 m = state.combinedMatrix();
|
||||
- memcpy(buf->data(), m.constData(), 64);
|
||||
+ const QMatrix4x4 mv = state.modelViewMatrix();
|
||||
+ memcpy(buf->data() + ModelViewMatrixOffset, mv.constData(), 64);
|
||||
+ const QMatrix4x4 p = state.projectionMatrix();
|
||||
+ memcpy(buf->data() + ProjectionMatrixOffset, p.constData(), 64);
|
||||
+
|
||||
changed = true;
|
||||
}
|
||||
|
||||
@@ -456,13 +471,13 @@ bool QSGTextMaskRhiShader::updateUniformData(RenderState &state,
|
||||
if (updated || !oldMat || oldRtex != newRtex) {
|
||||
const QVector2D textureScale = QVector2D(1.0f / mat->rhiGlyphCache()->width(),
|
||||
1.0f / mat->rhiGlyphCache()->height());
|
||||
- memcpy(buf->data() + 64 + 16, &textureScale, 8);
|
||||
+ memcpy(buf->data() + TextureScaleOffset, &textureScale, 8);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
if (!oldMat) {
|
||||
float dpr = state.devicePixelRatio();
|
||||
- memcpy(buf->data() + 64 + 16 + 8, &dpr, 4);
|
||||
+ memcpy(buf->data() + DprOffset, &dpr, 4);
|
||||
}
|
||||
|
||||
// move texture uploads/copies onto the renderer's soon-to-be-committed list
|
||||
@@ -510,11 +525,11 @@ bool QSG8BitTextMaskRhiShader::updateUniformData(RenderState &state,
|
||||
QSGTextMaskMaterial *oldMat = static_cast<QSGTextMaskMaterial *>(oldMaterial);
|
||||
|
||||
QByteArray *buf = state.uniformData();
|
||||
- Q_ASSERT(buf->size() >= 80);
|
||||
+ Q_ASSERT(buf->size() >= ColorOffset + 16);
|
||||
|
||||
if (oldMat == nullptr || mat->color() != oldMat->color() || state.isOpacityDirty()) {
|
||||
const QVector4D color = qsg_premultiply(mat->color(), state.opacity());
|
||||
- memcpy(buf->data() + 64, &color, 16);
|
||||
+ memcpy(buf->data() + ColorOffset, &color, 16);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
@@ -553,12 +568,12 @@ bool QSG24BitTextMaskRhiShader::updateUniformData(RenderState &state,
|
||||
QSGTextMaskMaterial *oldMat = static_cast<QSGTextMaskMaterial *>(oldMaterial);
|
||||
|
||||
QByteArray *buf = state.uniformData();
|
||||
- Q_ASSERT(buf->size() >= 92);
|
||||
+ Q_ASSERT(buf->size() >= ColorOffset + 16);
|
||||
|
||||
if (oldMat == nullptr || mat->color() != oldMat->color() || state.isOpacityDirty()) {
|
||||
// shader takes vec4 but uses alpha only; coloring happens via the blend constant
|
||||
const QVector4D color = qsg_premultiply(mat->color(), state.opacity());
|
||||
- memcpy(buf->data() + 64, &color, 16);
|
||||
+ memcpy(buf->data() + ColorOffset, &color, 16);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
@@ -608,12 +623,12 @@ bool QSG32BitColorTextRhiShader::updateUniformData(RenderState &state,
|
||||
QSGTextMaskMaterial *oldMat = static_cast<QSGTextMaskMaterial *>(oldMaterial);
|
||||
|
||||
QByteArray *buf = state.uniformData();
|
||||
- Q_ASSERT(buf->size() >= 92);
|
||||
+ Q_ASSERT(buf->size() >= ColorOffset + 16);
|
||||
|
||||
if (oldMat == nullptr || mat->color() != oldMat->color() || state.isOpacityDirty()) {
|
||||
// shader takes vec4 but uses alpha only
|
||||
const QVector4D color(0, 0, 0, mat->color().w() * state.opacity());
|
||||
- memcpy(buf->data() + 64, &color, 16);
|
||||
+ memcpy(buf->data() + ColorOffset, &color, 16);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
@@ -649,20 +664,17 @@ bool QSGStyledTextRhiShader::updateUniformData(RenderState &state,
|
||||
QSGStyledTextMaterial *oldMat = static_cast<QSGStyledTextMaterial *>(oldMaterial);
|
||||
|
||||
QByteArray *buf = state.uniformData();
|
||||
- Q_ASSERT(buf->size() >= 120);
|
||||
-
|
||||
- // matrix..dpr + 1 float padding (vec4 must be aligned to 16)
|
||||
- const int startOffset = 64 + 16 + 8 + 4 + 4;
|
||||
+ Q_ASSERT(buf->size() >= ShiftOffset + 8);
|
||||
|
||||
if (oldMat == nullptr || mat->styleColor() != oldMat->styleColor() || state.isOpacityDirty()) {
|
||||
const QVector4D styleColor = qsg_premultiply(mat->styleColor(), state.opacity());
|
||||
- memcpy(buf->data() + startOffset, &styleColor, 16);
|
||||
+ memcpy(buf->data() + StyleColorOffset, &styleColor, 16);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
if (oldMat == nullptr || oldMat->styleShift() != mat->styleShift()) {
|
||||
const QVector2D v = mat->styleShift();
|
||||
- memcpy(buf->data() + startOffset + 16, &v, 8);
|
||||
+ memcpy(buf->data() + ShiftOffset, &v, 8);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/24bittextmask.frag b/src/quick/scenegraph/shaders_ng/24bittextmask.frag
|
||||
index bc3826a924..ed8da4cd30 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/24bittextmask.frag
|
||||
+++ b/src/quick/scenegraph/shaders_ng/24bittextmask.frag
|
||||
@@ -6,8 +6,9 @@ layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform sampler2D _qt_texture;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- mat4 matrix;
|
||||
- vec4 color; // only alpha is used, but must be vec4 due to layout compat
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
+ vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
} ubuf;
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/32bitcolortext.frag b/src/quick/scenegraph/shaders_ng/32bitcolortext.frag
|
||||
index 63e445f90b..4198a4d339 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/32bitcolortext.frag
|
||||
+++ b/src/quick/scenegraph/shaders_ng/32bitcolortext.frag
|
||||
@@ -6,8 +6,9 @@ layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform sampler2D _qt_texture;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- mat4 matrix;
|
||||
- vec4 color; // only alpha is used, but must be vec4 due to layout compat
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
+ vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
} ubuf;
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/8bittextmask.frag b/src/quick/scenegraph/shaders_ng/8bittextmask.frag
|
||||
index 6304e821ff..a06743876d 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/8bittextmask.frag
|
||||
+++ b/src/quick/scenegraph/shaders_ng/8bittextmask.frag
|
||||
@@ -6,7 +6,8 @@ layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform sampler2D _qt_texture;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/8bittextmask_a.frag b/src/quick/scenegraph/shaders_ng/8bittextmask_a.frag
|
||||
index 0d0fa1cd3a..f725cbc5e7 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/8bittextmask_a.frag
|
||||
+++ b/src/quick/scenegraph/shaders_ng/8bittextmask_a.frag
|
||||
@@ -6,7 +6,8 @@ layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform sampler2D _qt_texture;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/outlinedtext.frag b/src/quick/scenegraph/shaders_ng/outlinedtext.frag
|
||||
index 947d161a50..e2f82d3845 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/outlinedtext.frag
|
||||
+++ b/src/quick/scenegraph/shaders_ng/outlinedtext.frag
|
||||
@@ -11,11 +11,12 @@ layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform sampler2D _qt_texture;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- // must match styledtext
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
+ // the above must stay compatible with textmask/8bittextmask
|
||||
vec4 styleColor;
|
||||
vec2 shift;
|
||||
} ubuf;
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/outlinedtext.vert b/src/quick/scenegraph/shaders_ng/outlinedtext.vert
|
||||
index 023f9dfdc2..4068e42f28 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/outlinedtext.vert
|
||||
+++ b/src/quick/scenegraph/shaders_ng/outlinedtext.vert
|
||||
@@ -10,11 +10,12 @@ layout(location = 3) out vec2 sCoordLeft;
|
||||
layout(location = 4) out vec2 sCoordRight;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- // must match styledtext
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
+ // the above must stay compatible with textmask/8bittextmask
|
||||
vec4 styleColor;
|
||||
vec2 shift;
|
||||
} ubuf;
|
||||
@@ -28,6 +29,6 @@ void main()
|
||||
sCoordDown = (tCoord - vec2(0.0, 1.0)) * ubuf.textureScale;
|
||||
sCoordLeft = (tCoord - vec2(-1.0, 0.0)) * ubuf.textureScale;
|
||||
sCoordRight = (tCoord - vec2(1.0, 0.0)) * ubuf.textureScale;
|
||||
- vec3 dprSnapPos = floor(vCoord.xyz * ubuf.dpr + 0.5) / ubuf.dpr;
|
||||
- gl_Position = ubuf.matrix * vec4(dprSnapPos, vCoord.w);
|
||||
+ vec4 xformed = ubuf.modelViewMatrix * vCoord;
|
||||
+ gl_Position = ubuf.projectionMatrix * vec4(floor(xformed.xyz * ubuf.dpr + 0.5) / ubuf.dpr, xformed.w);
|
||||
}
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/outlinedtext_a.frag b/src/quick/scenegraph/shaders_ng/outlinedtext_a.frag
|
||||
index 5b7bd9ca82..274d891a3c 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/outlinedtext_a.frag
|
||||
+++ b/src/quick/scenegraph/shaders_ng/outlinedtext_a.frag
|
||||
@@ -11,11 +11,12 @@ layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform sampler2D _qt_texture;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- // must match styledtext
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
+ // the above must stay compatible with textmask/8bittextmask
|
||||
vec4 styleColor;
|
||||
vec2 shift;
|
||||
} ubuf;
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/styledtext.frag b/src/quick/scenegraph/shaders_ng/styledtext.frag
|
||||
index 0b16396037..2e380dfeae 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/styledtext.frag
|
||||
+++ b/src/quick/scenegraph/shaders_ng/styledtext.frag
|
||||
@@ -8,7 +8,8 @@ layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform sampler2D _qt_texture;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/styledtext.vert b/src/quick/scenegraph/shaders_ng/styledtext.vert
|
||||
index beadf07c79..271dae8d8a 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/styledtext.vert
|
||||
+++ b/src/quick/scenegraph/shaders_ng/styledtext.vert
|
||||
@@ -7,7 +7,8 @@ layout(location = 0) out vec2 sampleCoord;
|
||||
layout(location = 1) out vec2 shiftedSampleCoord;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
@@ -22,6 +23,6 @@ void main()
|
||||
{
|
||||
sampleCoord = tCoord * ubuf.textureScale;
|
||||
shiftedSampleCoord = (tCoord - ubuf.shift) * ubuf.textureScale;
|
||||
- vec3 dprSnapPos = floor(vCoord.xyz * ubuf.dpr + 0.5) / ubuf.dpr;
|
||||
- gl_Position = ubuf.matrix * vec4(dprSnapPos, vCoord.w);
|
||||
+ vec4 xformed = ubuf.modelViewMatrix * vCoord;
|
||||
+ gl_Position = ubuf.projectionMatrix * vec4(floor(xformed.xyz * ubuf.dpr + 0.5) / ubuf.dpr, xformed.w);
|
||||
}
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/styledtext_a.frag b/src/quick/scenegraph/shaders_ng/styledtext_a.frag
|
||||
index b673137895..62e162c851 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/styledtext_a.frag
|
||||
+++ b/src/quick/scenegraph/shaders_ng/styledtext_a.frag
|
||||
@@ -8,7 +8,8 @@ layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform sampler2D _qt_texture;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/textmask.frag b/src/quick/scenegraph/shaders_ng/textmask.frag
|
||||
index 518d5c965f..ed8da4cd30 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/textmask.frag
|
||||
+++ b/src/quick/scenegraph/shaders_ng/textmask.frag
|
||||
@@ -6,7 +6,8 @@ layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform sampler2D _qt_texture;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
diff --git a/src/quick/scenegraph/shaders_ng/textmask.vert b/src/quick/scenegraph/shaders_ng/textmask.vert
|
||||
index 9d80d5dadb..e0b3c01bce 100644
|
||||
--- a/src/quick/scenegraph/shaders_ng/textmask.vert
|
||||
+++ b/src/quick/scenegraph/shaders_ng/textmask.vert
|
||||
@@ -6,7 +6,8 @@ layout(location = 1) in vec2 tCoord;
|
||||
layout(location = 0) out vec2 sampleCoord;
|
||||
|
||||
layout(std140, binding = 0) uniform buf {
|
||||
- mat4 matrix;
|
||||
+ mat4 modelViewMatrix;
|
||||
+ mat4 projectionMatrix;
|
||||
vec4 color;
|
||||
vec2 textureScale;
|
||||
float dpr;
|
||||
@@ -17,6 +18,6 @@ out gl_PerVertex { vec4 gl_Position; };
|
||||
void main()
|
||||
{
|
||||
sampleCoord = tCoord * ubuf.textureScale;
|
||||
- vec3 dprSnapPos = floor(vCoord.xyz * ubuf.dpr + 0.5) / ubuf.dpr;
|
||||
- gl_Position = ubuf.matrix * vec4(dprSnapPos, vCoord.w);
|
||||
+ vec4 xformed = ubuf.modelViewMatrix * vCoord;
|
||||
+ gl_Position = ubuf.projectionMatrix * vec4(floor(xformed.xyz * ubuf.dpr + 0.5) / ubuf.dpr, xformed.w);
|
||||
}
|
||||
diff --git a/tests/manual/scenegraph_lancelot/data/text/text_nativerendering_subpixelpositions.qml b/tests/manual/scenegraph_lancelot/data/text/text_nativerendering_subpixelpositions.qml
|
||||
new file mode 100644
|
||||
index 0000000000..c60fc4d8b0
|
||||
--- /dev/null
|
||||
+++ b/tests/manual/scenegraph_lancelot/data/text/text_nativerendering_subpixelpositions.qml
|
||||
@@ -0,0 +1,91 @@
|
||||
+import QtQuick 2.0
|
||||
+
|
||||
+//vary font style, native rendering at non-integer offsets
|
||||
+
|
||||
+Item {
|
||||
+ id: topLevel
|
||||
+ width: 320
|
||||
+ height: 580
|
||||
+
|
||||
+ Repeater {
|
||||
+ model: [Text.Normal, Text.Outline, Text.Raised, Text.Sunken]
|
||||
+ Text {
|
||||
+ y: 20 * index
|
||||
+ clip: true
|
||||
+ renderType: Text.NativeRendering
|
||||
+ width: parent.width
|
||||
+ wrapMode: Text.Wrap
|
||||
+ font.pointSize: 10
|
||||
+ style: modelData
|
||||
+ styleColor: "green"
|
||||
+ text: "The quick fox jumps in style " + modelData
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ Repeater {
|
||||
+ model: [Text.Normal, Text.Outline, Text.Raised, Text.Sunken]
|
||||
+ Text {
|
||||
+ y: 100.5 + 20 * index
|
||||
+ clip: true
|
||||
+ renderType: Text.NativeRendering
|
||||
+ width: parent.width
|
||||
+ wrapMode: Text.Wrap
|
||||
+ font.pointSize: 10
|
||||
+ style: modelData
|
||||
+ styleColor: "green"
|
||||
+ text: "The quick fox jumps in style " + modelData
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ Repeater {
|
||||
+ model: [Text.Normal, Text.Outline, Text.Raised, Text.Sunken]
|
||||
+ Text {
|
||||
+ y: 200.5 + 20 * index
|
||||
+ x: 0.5
|
||||
+ clip: true
|
||||
+ renderType: Text.NativeRendering
|
||||
+ width: parent.width
|
||||
+ wrapMode: Text.Wrap
|
||||
+ font.pointSize: 10
|
||||
+ style: modelData
|
||||
+ styleColor: "green"
|
||||
+ text: "The quick fox jumps in style " + modelData
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ Repeater {
|
||||
+ model: [Text.Normal, Text.Outline, Text.Raised, Text.Sunken]
|
||||
+ Text {
|
||||
+ y: 300.5 + 20 * index
|
||||
+ x: 0.5
|
||||
+ clip: true
|
||||
+ renderType: Text.NativeRendering
|
||||
+ width: parent.width
|
||||
+ wrapMode: Text.Wrap
|
||||
+ font.pointSize: 10
|
||||
+ style: modelData
|
||||
+ styleColor: "green"
|
||||
+ text: "The quick fox jumps in style " + modelData
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ Repeater {
|
||||
+ model: [Text.Normal, Text.Outline, Text.Raised, Text.Sunken]
|
||||
+ Rectangle {
|
||||
+ y: 400.5 + 20 * index
|
||||
+ x: 0.5
|
||||
+ width: topLevel.width
|
||||
+ height: topLevel.height
|
||||
+ clip: true
|
||||
+ Text {
|
||||
+ renderType: Text.NativeRendering
|
||||
+ width: parent.width
|
||||
+ wrapMode: Text.Wrap
|
||||
+ font.pointSize: 10
|
||||
+ style: modelData
|
||||
+ styleColor: "green"
|
||||
+ text: "The quick fox jumps in style " + modelData
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,71 @@
|
||||
From ffa77919e72951c7accf84ad09dc669d166aedf8 Mon Sep 17 00:00:00 2001
|
||||
From: Laszlo Agocs <laszlo.agocs@qt.io>
|
||||
Date: Mon, 11 Oct 2021 15:37:33 +0200
|
||||
Subject: [PATCH 11/20] Revert "Fix for possible crash in
|
||||
QSGDefaultLayer::grab"
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This reverts commit 1c5de027d0c31d1d6697bd0557128d92207763d8.
|
||||
|
||||
The fix here is not correct. Calling a QSGRhiLayer function from the gui
|
||||
thread is very wrong and can cause a set of unexpected issues. The
|
||||
Address Sanitizer catches this by recognizing that the render thread is
|
||||
trying to do something with an object destroyed in the meantime on the
|
||||
main thread in the layer->setItem(null) call.
|
||||
|
||||
The issue the original fix is trying to address needs to be addressed in
|
||||
some different form.
|
||||
|
||||
Fixes: QTBUG-94975
|
||||
Pick-to: 6.2 6.1 5.15
|
||||
Change-Id: I46f904026281201fc6d233ed7d3bdc7080934afe
|
||||
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
|
||||
(cherry picked from commit a5f0361622eb08eab6c3474d5fc249d1962e3d1e)
|
||||
---
|
||||
src/quick/items/qquickshadereffectsource.cpp | 8 --------
|
||||
src/quick/items/qquickshadereffectsource_p.h | 1 -
|
||||
2 files changed, 9 deletions(-)
|
||||
|
||||
diff --git a/src/quick/items/qquickshadereffectsource.cpp b/src/quick/items/qquickshadereffectsource.cpp
|
||||
index 4f61d61309..b298ed74da 100644
|
||||
--- a/src/quick/items/qquickshadereffectsource.cpp
|
||||
+++ b/src/quick/items/qquickshadereffectsource.cpp
|
||||
@@ -344,7 +344,6 @@ void QQuickShaderEffectSource::setSourceItem(QQuickItem *item)
|
||||
d->refFromEffectItem(m_hideSource);
|
||||
d->addItemChangeListener(this, QQuickItemPrivate::Geometry);
|
||||
connect(m_sourceItem, SIGNAL(destroyed(QObject*)), this, SLOT(sourceItemDestroyed(QObject*)));
|
||||
- connect(m_sourceItem, SIGNAL(parentChanged(QQuickItem*)), this, SLOT(sourceItemParentChanged(QQuickItem*)));
|
||||
} else {
|
||||
qWarning("ShaderEffectSource: sourceItem and ShaderEffectSource must both be children of the same window.");
|
||||
m_sourceItem = nullptr;
|
||||
@@ -364,13 +363,6 @@ void QQuickShaderEffectSource::sourceItemDestroyed(QObject *item)
|
||||
}
|
||||
|
||||
|
||||
-void QQuickShaderEffectSource::sourceItemParentChanged(QQuickItem *parent)
|
||||
-{
|
||||
- if (!parent && m_texture)
|
||||
- m_texture->setItem(0);
|
||||
-}
|
||||
-
|
||||
-
|
||||
/*!
|
||||
\qmlproperty rect QtQuick::ShaderEffectSource::sourceRect
|
||||
|
||||
diff --git a/src/quick/items/qquickshadereffectsource_p.h b/src/quick/items/qquickshadereffectsource_p.h
|
||||
index 4deb6c70a3..c0a1ccab78 100644
|
||||
--- a/src/quick/items/qquickshadereffectsource_p.h
|
||||
+++ b/src/quick/items/qquickshadereffectsource_p.h
|
||||
@@ -173,7 +173,6 @@ Q_SIGNALS:
|
||||
private Q_SLOTS:
|
||||
void sourceItemDestroyed(QObject *item);
|
||||
void invalidateSceneGraph();
|
||||
- void sourceItemParentChanged(QQuickItem *parent);
|
||||
|
||||
protected:
|
||||
void releaseResources() override;
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,58 @@
|
||||
From c3804f86e0a75c0c8402127a5b01bc7a858e6492 Mon Sep 17 00:00:00 2001
|
||||
From: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
||||
Date: Wed, 17 Mar 2021 16:52:21 +0100
|
||||
Subject: [PATCH 12/20] QQuickItemAnimation: close potential memory leak
|
||||
|
||||
Fix static analyzer warning bff6cb4333f531d5a72f7bf6dc1485f6.
|
||||
|
||||
If ownership of viaData is not passed to the viaAction, then the object
|
||||
might be leaked. Use std::unique_ptr to make ownership transfer explicit
|
||||
and implicitly delete unowned objects.
|
||||
|
||||
Pick-to: 6.1 5.15
|
||||
Change-Id: I89f2a6b630941a98a74db302bc1ab08055c71974
|
||||
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
||||
(cherry picked from commit 78aea267209c34abeb4895712dc76c923aa46165)
|
||||
---
|
||||
src/quick/items/qquickitemanimation.cpp | 11 ++++-------
|
||||
1 file changed, 4 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/quick/items/qquickitemanimation.cpp b/src/quick/items/qquickitemanimation.cpp
|
||||
index 23694e2de3..dfb56ccc00 100644
|
||||
--- a/src/quick/items/qquickitemanimation.cpp
|
||||
+++ b/src/quick/items/qquickitemanimation.cpp
|
||||
@@ -230,8 +230,8 @@ QAbstractAnimationJob* QQuickParentAnimation::transition(QQuickStateActions &act
|
||||
{
|
||||
Q_D(QQuickParentAnimation);
|
||||
|
||||
- QQuickParentAnimationData *data = new QQuickParentAnimationData;
|
||||
- QQuickParentAnimationData *viaData = new QQuickParentAnimationData;
|
||||
+ std::unique_ptr<QQuickParentAnimationData> data(new QQuickParentAnimationData);
|
||||
+ std::unique_ptr<QQuickParentAnimationData> viaData(new QQuickParentAnimationData);
|
||||
|
||||
bool hasExplicit = false;
|
||||
if (d->target && d->newParent) {
|
||||
@@ -377,8 +377,8 @@ QAbstractAnimationJob* QQuickParentAnimation::transition(QQuickStateActions &act
|
||||
QParallelAnimationGroupJob *ag = new QParallelAnimationGroupJob;
|
||||
|
||||
if (d->via)
|
||||
- viaAction->setAnimAction(viaData);
|
||||
- targetAction->setAnimAction(data);
|
||||
+ viaAction->setAnimAction(viaData.release());
|
||||
+ targetAction->setAnimAction(data.release());
|
||||
|
||||
//take care of any child animations
|
||||
bool valid = d->defaultProperty.isValid();
|
||||
@@ -405,9 +405,6 @@ QAbstractAnimationJob* QQuickParentAnimation::transition(QQuickStateActions &act
|
||||
topLevelGroup->appendAnimation(d->via ? viaAction : targetAction);
|
||||
}
|
||||
return initInstance(topLevelGroup);
|
||||
- } else {
|
||||
- delete data;
|
||||
- delete viaData;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,30 @@
|
||||
From 44ac7f39d874202163926f505a46179c084154b9 Mon Sep 17 00:00:00 2001
|
||||
From: Maximilian Goldstein <max.goldstein@qt.io>
|
||||
Date: Tue, 23 Feb 2021 16:10:44 +0100
|
||||
Subject: [PATCH 13/20] qqmldelegatemodel: Fix out of bounds cache removal
|
||||
|
||||
Pick-to: 5.15 6.0 6.1
|
||||
Task-number: QTBUG-91276
|
||||
Change-Id: I1ddbb4a3326d61ff94e3881beb64a14dade11c46
|
||||
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
||||
(cherry picked from commit 31ad81d81e623a34cd71567b9507f16601f1c1d4)
|
||||
---
|
||||
src/qmlmodels/qqmldelegatemodel.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/qmlmodels/qqmldelegatemodel.cpp b/src/qmlmodels/qqmldelegatemodel.cpp
|
||||
index 381726291d..53e511303e 100644
|
||||
--- a/src/qmlmodels/qqmldelegatemodel.cpp
|
||||
+++ b/src/qmlmodels/qqmldelegatemodel.cpp
|
||||
@@ -1621,7 +1621,7 @@ void QQmlDelegateModelPrivate::itemsRemoved(
|
||||
removed[i] = 0;
|
||||
|
||||
for (const Compositor::Remove &remove : removes) {
|
||||
- for (; cacheIndex < remove.cacheIndex; ++cacheIndex)
|
||||
+ for (; cacheIndex < remove.cacheIndex && cacheIndex < m_cache.size(); ++cacheIndex)
|
||||
incrementIndexes(m_cache.at(cacheIndex), m_groupCount, removed);
|
||||
|
||||
for (int i = 1; i < m_groupCount; ++i) {
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,50 @@
|
||||
From f8f6b9d084decbad8ee90880493c413ac90c2911 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Hartmetz <andreas@ixgreen.de>
|
||||
Date: Fri, 5 Mar 2021 12:41:06 +0100
|
||||
Subject: [PATCH 14/20] QQuickWindow: don't leak old screenChanged connections
|
||||
|
||||
Connections could accumulate. Because the newest one was invoked
|
||||
last due to how signal-slot invocations are ordered, rendering
|
||||
was correct, but the stale connections caused unnecessary updates
|
||||
(and wasted a small amount of memory).
|
||||
This comes from a misunderstanding I had at the time about how
|
||||
QMetaObject::Connection works. Destroying or overwriting one does
|
||||
not affect the actual connection.
|
||||
|
||||
While at it, also modernize the connect().
|
||||
|
||||
Pick-to: 5.15 6.0 6.1
|
||||
Change-Id: Idde81bdbff8947ed517bf2740d623a395c0acb74
|
||||
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
||||
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
||||
(cherry picked from commit 9f8292d48913c5bc50377749c2b3e030cf16d703)
|
||||
---
|
||||
src/quick/items/qquickwindow.cpp | 7 +++----
|
||||
1 file changed, 3 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp
|
||||
index eea1e93f32..c956c85091 100644
|
||||
--- a/src/quick/items/qquickwindow.cpp
|
||||
+++ b/src/quick/items/qquickwindow.cpp
|
||||
@@ -450,15 +450,14 @@ void QQuickWindow::physicalDpiChanged()
|
||||
void QQuickWindow::handleScreenChanged(QScreen *screen)
|
||||
{
|
||||
Q_D(QQuickWindow);
|
||||
+ disconnect(d->physicalDpiChangedConnection);
|
||||
if (screen) {
|
||||
physicalDpiChanged();
|
||||
// When physical DPI changes on the same screen, either the resolution or the device pixel
|
||||
// ratio changed. We must check what it is. Device pixel ratio does not have its own
|
||||
// ...Changed() signal.
|
||||
- d->physicalDpiChangedConnection = connect(screen, SIGNAL(physicalDotsPerInchChanged(qreal)),
|
||||
- this, SLOT(physicalDpiChanged()));
|
||||
- } else {
|
||||
- disconnect(d->physicalDpiChangedConnection);
|
||||
+ d->physicalDpiChangedConnection = connect(screen, &QScreen::physicalDotsPerInchChanged,
|
||||
+ this, &QQuickWindow::physicalDpiChanged);
|
||||
}
|
||||
|
||||
d->forcePolish();
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,73 @@
|
||||
From 743ae2a4d59eccc4720390c4c757b081eb2c6bfa Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jan=20Arve=20S=C3=A6ther?= <jan-arve.saether@qt.io>
|
||||
Date: Thu, 3 Sep 2020 10:51:01 +0200
|
||||
Subject: [PATCH 15/20] Fix TapHandler so that it actually registers a tap
|
||||
|
||||
This bug caused all quick examples that used the
|
||||
shared\LauncherList.qml to be broken.
|
||||
|
||||
In QtGui, QSinglePointEvent will construct itself with a point id of 0
|
||||
if there is a valid point, and with a point id of -1 if the point is
|
||||
invalid (the default constructor does the latter).
|
||||
However, QQuickSinglePointHandler::wantsPointerEvent() did not agree
|
||||
with that, because it assumed that a point id of 0 meant
|
||||
uninitialized/invalid point.
|
||||
The fix is to change QQuickSinglePointHandler::wantsPointerEvent() and
|
||||
QQuickHandlerPoint so that it assumes that the id -1 is now an invalid
|
||||
point, (instead of 0)
|
||||
|
||||
Change-Id: I8c9683dfe06ebb77c5342a26f08174b67e7cbd90
|
||||
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
||||
(cherry picked from commit 8d3a91016506fd0afedb0be535f7c34a4ca762f6)
|
||||
---
|
||||
src/quick/handlers/qquickhandlerpoint.cpp | 4 ++--
|
||||
src/quick/handlers/qquicksinglepointhandler.cpp | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/quick/handlers/qquickhandlerpoint.cpp b/src/quick/handlers/qquickhandlerpoint.cpp
|
||||
index 72efdfd0f4..6aef3545dd 100644
|
||||
--- a/src/quick/handlers/qquickhandlerpoint.cpp
|
||||
+++ b/src/quick/handlers/qquickhandlerpoint.cpp
|
||||
@@ -82,7 +82,7 @@ void QQuickHandlerPoint::localize(QQuickItem *item)
|
||||
|
||||
void QQuickHandlerPoint::reset()
|
||||
{
|
||||
- m_id = 0;
|
||||
+ m_id = -1;
|
||||
m_uniqueId = QPointingDeviceUniqueId();
|
||||
m_position = QPointF();
|
||||
m_scenePosition = QPointF();
|
||||
@@ -165,7 +165,7 @@ void QQuickHandlerPoint::reset(const QVector<QQuickHandlerPoint> &points)
|
||||
pressureSum += point.pressure();
|
||||
ellipseDiameterSum += point.ellipseDiameters();
|
||||
}
|
||||
- m_id = 0;
|
||||
+ m_id = -1;
|
||||
m_uniqueId = QPointingDeviceUniqueId();
|
||||
// all points are required to be from the same event, so pressed buttons and modifiers should be the same
|
||||
m_pressedButtons = points.first().pressedButtons();
|
||||
diff --git a/src/quick/handlers/qquicksinglepointhandler.cpp b/src/quick/handlers/qquicksinglepointhandler.cpp
|
||||
index b51f53b74f..89081b4e84 100644
|
||||
--- a/src/quick/handlers/qquicksinglepointhandler.cpp
|
||||
+++ b/src/quick/handlers/qquicksinglepointhandler.cpp
|
||||
@@ -75,7 +75,7 @@ bool QQuickSinglePointHandler::wantsPointerEvent(QQuickPointerEvent *event)
|
||||
if (!QQuickPointerDeviceHandler::wantsPointerEvent(event))
|
||||
return false;
|
||||
|
||||
- if (d->pointInfo.id()) {
|
||||
+ if (d->pointInfo.id() != -1) {
|
||||
// We already know which one we want, so check whether it's there.
|
||||
// It's expected to be an update or a release.
|
||||
// If we no longer want it, cancel the grab.
|
||||
@@ -125,7 +125,7 @@ bool QQuickSinglePointHandler::wantsPointerEvent(QQuickPointerEvent *event)
|
||||
chosen->setAccepted();
|
||||
}
|
||||
}
|
||||
- return d->pointInfo.id();
|
||||
+ return d->pointInfo.id() != -1;
|
||||
}
|
||||
|
||||
void QQuickSinglePointHandler::handlePointerEventImpl(QQuickPointerEvent *event)
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,61 @@
|
||||
From 84e0c1e0973ca7467089dc0227a2b9ac4aef52fa Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <aacid@kde.org>
|
||||
Date: Tue, 16 Nov 2021 22:43:37 +0100
|
||||
Subject: [PATCH 16/20] Revert "Fix TapHandler so that it actually registers a
|
||||
tap"
|
||||
|
||||
This reverts commit 36e8ccd434f948e4f11a8f9d59139ec072e41ff5.
|
||||
|
||||
It's causing regresions
|
||||
---
|
||||
src/quick/handlers/qquickhandlerpoint.cpp | 4 ++--
|
||||
src/quick/handlers/qquicksinglepointhandler.cpp | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/quick/handlers/qquickhandlerpoint.cpp b/src/quick/handlers/qquickhandlerpoint.cpp
|
||||
index 6aef3545dd..72efdfd0f4 100644
|
||||
--- a/src/quick/handlers/qquickhandlerpoint.cpp
|
||||
+++ b/src/quick/handlers/qquickhandlerpoint.cpp
|
||||
@@ -82,7 +82,7 @@ void QQuickHandlerPoint::localize(QQuickItem *item)
|
||||
|
||||
void QQuickHandlerPoint::reset()
|
||||
{
|
||||
- m_id = -1;
|
||||
+ m_id = 0;
|
||||
m_uniqueId = QPointingDeviceUniqueId();
|
||||
m_position = QPointF();
|
||||
m_scenePosition = QPointF();
|
||||
@@ -165,7 +165,7 @@ void QQuickHandlerPoint::reset(const QVector<QQuickHandlerPoint> &points)
|
||||
pressureSum += point.pressure();
|
||||
ellipseDiameterSum += point.ellipseDiameters();
|
||||
}
|
||||
- m_id = -1;
|
||||
+ m_id = 0;
|
||||
m_uniqueId = QPointingDeviceUniqueId();
|
||||
// all points are required to be from the same event, so pressed buttons and modifiers should be the same
|
||||
m_pressedButtons = points.first().pressedButtons();
|
||||
diff --git a/src/quick/handlers/qquicksinglepointhandler.cpp b/src/quick/handlers/qquicksinglepointhandler.cpp
|
||||
index 89081b4e84..b51f53b74f 100644
|
||||
--- a/src/quick/handlers/qquicksinglepointhandler.cpp
|
||||
+++ b/src/quick/handlers/qquicksinglepointhandler.cpp
|
||||
@@ -75,7 +75,7 @@ bool QQuickSinglePointHandler::wantsPointerEvent(QQuickPointerEvent *event)
|
||||
if (!QQuickPointerDeviceHandler::wantsPointerEvent(event))
|
||||
return false;
|
||||
|
||||
- if (d->pointInfo.id() != -1) {
|
||||
+ if (d->pointInfo.id()) {
|
||||
// We already know which one we want, so check whether it's there.
|
||||
// It's expected to be an update or a release.
|
||||
// If we no longer want it, cancel the grab.
|
||||
@@ -125,7 +125,7 @@ bool QQuickSinglePointHandler::wantsPointerEvent(QQuickPointerEvent *event)
|
||||
chosen->setAccepted();
|
||||
}
|
||||
}
|
||||
- return d->pointInfo.id() != -1;
|
||||
+ return d->pointInfo.id();
|
||||
}
|
||||
|
||||
void QQuickSinglePointHandler::handlePointerEventImpl(QQuickPointerEvent *event)
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,36 @@
|
||||
From c6e595e7fbbe80c8db7ae33d8af05a4fd946a2f5 Mon Sep 17 00:00:00 2001
|
||||
From: Marc Mutz <marc.mutz@qt.io>
|
||||
Date: Tue, 21 Dec 2021 09:20:17 +0100
|
||||
Subject: [PATCH 17/20] QQmlJs::FixedPoolArray: fix UB (precondition violation)
|
||||
in allocate()
|
||||
|
||||
Says ubsan:
|
||||
|
||||
qqmljsfixedpoolarray_p.h:90:19: runtime error: null pointer passed as argument 2, which is declared to never be null
|
||||
|
||||
Fix, like in so many other places, by a size check.
|
||||
|
||||
Pick-to: 6.3 6.2 5.15
|
||||
Change-Id: I9181d6ecb467c2dc726978ce7f93b35a6bf2f944
|
||||
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
||||
(cherry picked from commit d74e931f3fc2587ac6d1e2930acbbe54ea5be2b5)
|
||||
---
|
||||
src/qml/common/qqmljsfixedpoolarray_p.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/qml/common/qqmljsfixedpoolarray_p.h b/src/qml/common/qqmljsfixedpoolarray_p.h
|
||||
index b65b994d6c..15a8cd6878 100644
|
||||
--- a/src/qml/common/qqmljsfixedpoolarray_p.h
|
||||
+++ b/src/qml/common/qqmljsfixedpoolarray_p.h
|
||||
@@ -86,7 +86,7 @@ public:
|
||||
if (QTypeInfo<T>::isComplex) {
|
||||
for (int i = 0; i < count; ++i)
|
||||
new (data + i) T(vector.at(i));
|
||||
- } else {
|
||||
+ } else if (count) {
|
||||
memcpy(data, static_cast<const void*>(vector.constData()), count * sizeof(T));
|
||||
}
|
||||
}
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,138 @@
|
||||
From 9bb03b5dcc21275986df3d8b0efb6f28cdc583ec Mon Sep 17 00:00:00 2001
|
||||
From: Wang Chuan <ouchuanm@outlook.com>
|
||||
Date: Mon, 5 Apr 2021 11:41:48 +0800
|
||||
Subject: [PATCH 18/20] QQuickTextInput: update cursor rectangle after padding
|
||||
changed
|
||||
|
||||
The position of cursor delegate needs to be updated when we change
|
||||
padding, otherwise it will be in a wrong position.
|
||||
|
||||
Fixes: QTBUG-91867
|
||||
Pick-to: 5.12 5.15 6.0 6.1
|
||||
Change-Id: I89ca84fe893ebf517ab67890196eede14a4055d7
|
||||
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
||||
(cherry picked from commit d98694c4023881673259ba040c10df7e71ec3d37)
|
||||
---
|
||||
src/quick/items/qquicktextinput.cpp | 5 ++++
|
||||
.../checkCursorDelegateWhenPaddingChanged.qml | 16 ++++++++++
|
||||
.../qquicktextinput/tst_qquicktextinput.cpp | 30 +++++++++++++++++++
|
||||
3 files changed, 51 insertions(+)
|
||||
create mode 100644 tests/auto/quick/qquicktextinput/data/checkCursorDelegateWhenPaddingChanged.qml
|
||||
|
||||
diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp
|
||||
index 079bf58abe..7d0d05700a 100644
|
||||
--- a/src/quick/items/qquicktextinput.cpp
|
||||
+++ b/src/quick/items/qquicktextinput.cpp
|
||||
@@ -2952,6 +2952,7 @@ void QQuickTextInputPrivate::setTopPadding(qreal value, bool reset)
|
||||
}
|
||||
if ((!reset && !qFuzzyCompare(oldPadding, value)) || (reset && !qFuzzyCompare(oldPadding, padding()))) {
|
||||
updateLayout();
|
||||
+ q->updateCursorRectangle();
|
||||
emit q->topPaddingChanged();
|
||||
}
|
||||
}
|
||||
@@ -2966,6 +2967,7 @@ void QQuickTextInputPrivate::setLeftPadding(qreal value, bool reset)
|
||||
}
|
||||
if ((!reset && !qFuzzyCompare(oldPadding, value)) || (reset && !qFuzzyCompare(oldPadding, padding()))) {
|
||||
updateLayout();
|
||||
+ q->updateCursorRectangle();
|
||||
emit q->leftPaddingChanged();
|
||||
}
|
||||
}
|
||||
@@ -2980,6 +2982,7 @@ void QQuickTextInputPrivate::setRightPadding(qreal value, bool reset)
|
||||
}
|
||||
if ((!reset && !qFuzzyCompare(oldPadding, value)) || (reset && !qFuzzyCompare(oldPadding, padding()))) {
|
||||
updateLayout();
|
||||
+ q->updateCursorRectangle();
|
||||
emit q->rightPaddingChanged();
|
||||
}
|
||||
}
|
||||
@@ -2994,6 +2997,7 @@ void QQuickTextInputPrivate::setBottomPadding(qreal value, bool reset)
|
||||
}
|
||||
if ((!reset && !qFuzzyCompare(oldPadding, value)) || (reset && !qFuzzyCompare(oldPadding, padding()))) {
|
||||
updateLayout();
|
||||
+ q->updateCursorRectangle();
|
||||
emit q->bottomPaddingChanged();
|
||||
}
|
||||
}
|
||||
@@ -4712,6 +4716,7 @@ void QQuickTextInput::setPadding(qreal padding)
|
||||
|
||||
d->extra.value().padding = padding;
|
||||
d->updateLayout();
|
||||
+ updateCursorRectangle();
|
||||
emit paddingChanged();
|
||||
if (!d->extra.isAllocated() || !d->extra->explicitTopPadding)
|
||||
emit topPaddingChanged();
|
||||
diff --git a/tests/auto/quick/qquicktextinput/data/checkCursorDelegateWhenPaddingChanged.qml b/tests/auto/quick/qquicktextinput/data/checkCursorDelegateWhenPaddingChanged.qml
|
||||
new file mode 100644
|
||||
index 0000000000..e6f07b4687
|
||||
--- /dev/null
|
||||
+++ b/tests/auto/quick/qquicktextinput/data/checkCursorDelegateWhenPaddingChanged.qml
|
||||
@@ -0,0 +1,16 @@
|
||||
+import QtQuick 2.12
|
||||
+
|
||||
+Rectangle {
|
||||
+ width: 200
|
||||
+ height: 200
|
||||
+ TextInput {
|
||||
+ objectName: "textInput"
|
||||
+ leftPadding: 10
|
||||
+ focus: true
|
||||
+ cursorDelegate: Rectangle {
|
||||
+ objectName: "cursorDelegate"
|
||||
+ width: 5
|
||||
+ color: "red"
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
diff --git a/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp b/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
|
||||
index 2e64c80b85..ac502bcb28 100644
|
||||
--- a/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
|
||||
+++ b/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
|
||||
@@ -236,6 +236,7 @@ private slots:
|
||||
void QTBUG_51115_readOnlyResetsSelection();
|
||||
void QTBUG_77814_InsertRemoveNoSelection();
|
||||
|
||||
+ void checkCursorDelegateWhenPaddingChanged();
|
||||
private:
|
||||
void simulateKey(QWindow *, int key);
|
||||
|
||||
@@ -7054,6 +7055,35 @@ void tst_qquicktextinput::QTBUG_77814_InsertRemoveNoSelection()
|
||||
QCOMPARE(textInput->selectedText(), QString());
|
||||
}
|
||||
|
||||
+void tst_qquicktextinput::checkCursorDelegateWhenPaddingChanged()
|
||||
+{
|
||||
+ QQuickView view;
|
||||
+ view.setSource(testFileUrl("checkCursorDelegateWhenPaddingChanged.qml"));
|
||||
+ view.show();
|
||||
+ QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||
+
|
||||
+ QQuickTextInput *textInput = view.rootObject()->findChild<QQuickTextInput *>("textInput");
|
||||
+ QVERIFY(textInput);
|
||||
+
|
||||
+ QQuickItem *cursorDelegate = textInput->findChild<QQuickItem *>("cursorDelegate");
|
||||
+ QVERIFY(cursorDelegate);
|
||||
+
|
||||
+ QCOMPARE(cursorDelegate->x(), textInput->leftPadding());
|
||||
+ QCOMPARE(cursorDelegate->y(), textInput->topPadding());
|
||||
+
|
||||
+ textInput->setPadding(5);
|
||||
+ QCOMPARE(cursorDelegate->x(), textInput->leftPadding());
|
||||
+ QCOMPARE(cursorDelegate->y(), textInput->topPadding());
|
||||
+
|
||||
+ textInput->setTopPadding(10);
|
||||
+ QCOMPARE(cursorDelegate->x(), textInput->leftPadding());
|
||||
+ QCOMPARE(cursorDelegate->y(), textInput->topPadding());
|
||||
+
|
||||
+ textInput->setLeftPadding(10);
|
||||
+ QCOMPARE(cursorDelegate->x(), textInput->leftPadding());
|
||||
+ QCOMPARE(cursorDelegate->y(), textInput->topPadding());
|
||||
+}
|
||||
+
|
||||
QTEST_MAIN(tst_qquicktextinput)
|
||||
|
||||
#include "tst_qquicktextinput.moc"
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,51 @@
|
||||
From c8a4894655eef230702e6cc889f3d40fbb5a9426 Mon Sep 17 00:00:00 2001
|
||||
From: Ulf Hermann <ulf.hermann@qt.io>
|
||||
Date: Thu, 3 Feb 2022 10:02:06 +0100
|
||||
Subject: [PATCH 19/20] V4: Do not call dtor of an object we continue to use
|
||||
|
||||
After destroyObject(), the QObjectWrapper is still alive. We might use
|
||||
its heap object again. Furthermore, the Heap::QObjectWrapper dtor does
|
||||
not actually do anything defined. What we want to do here is clear the
|
||||
QObject pointer because we've just gotten rid of the QObject. There is a
|
||||
method for that: Heap::QObjectWrapper::destroy().
|
||||
|
||||
Finally, the internalClass must never ever be nullptr. Assert on that
|
||||
rather than checking it.
|
||||
|
||||
Pick-to: 5.15 6.2 6.3
|
||||
Task-number: QTBUG-100431
|
||||
Change-Id: I794a295c182b2ed4ba80673f58d6143c861b7391
|
||||
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
|
||||
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
||||
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
||||
(cherry picked from commit 6c197319f34b8098d034f1543eb5feb9d7be54c3)
|
||||
---
|
||||
src/qml/jsruntime/qv4qobjectwrapper.cpp | 5 ++---
|
||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/qml/jsruntime/qv4qobjectwrapper.cpp b/src/qml/jsruntime/qv4qobjectwrapper.cpp
|
||||
index 9899c9274e..272b85069f 100644
|
||||
--- a/src/qml/jsruntime/qv4qobjectwrapper.cpp
|
||||
+++ b/src/qml/jsruntime/qv4qobjectwrapper.cpp
|
||||
@@ -1160,8 +1160,7 @@ void Heap::QObjectWrapper::markObjects(Heap::Base *that, QV4::MarkStack *markSta
|
||||
void QObjectWrapper::destroyObject(bool lastCall)
|
||||
{
|
||||
Heap::QObjectWrapper *h = d();
|
||||
- if (!h->internalClass)
|
||||
- return; // destroyObject already got called
|
||||
+ Q_ASSERT(h->internalClass);
|
||||
|
||||
if (h->object()) {
|
||||
QQmlData *ddata = QQmlData::get(h->object(), false);
|
||||
@@ -1191,7 +1190,7 @@ void QObjectWrapper::destroyObject(bool lastCall)
|
||||
}
|
||||
}
|
||||
|
||||
- h->~Data();
|
||||
+ h->destroy();
|
||||
}
|
||||
|
||||
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,84 @@
|
||||
From 02105099301450c890e1caba977ef44efdc43da7 Mon Sep 17 00:00:00 2001
|
||||
From: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
||||
Date: Sat, 29 Jan 2022 21:59:33 +0200
|
||||
Subject: [PATCH 20/20] Make sure QQuickWidget and its offscreen window's
|
||||
screens are always in sync
|
||||
|
||||
By default, the offscreen window is placed on the primary screen.
|
||||
However, if the parent widget argument is passed to the QQuickWidget's
|
||||
constructor, then QQuickWidget's and the offscreen window's screens can
|
||||
be different and that can create rendering issues, e.g. blurry text if
|
||||
the primary screen and QQuickWidget's screen have different scale
|
||||
factors.
|
||||
|
||||
Change-Id: I10c62b5635664f943b11828773f14017f198a770
|
||||
Reviewed-by: David Edmundson <davidedmundson@kde.org>
|
||||
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
||||
(cherry picked from commit a2a2734bffa1459639b31fb3f4f83873ba44ab5c)
|
||||
---
|
||||
src/quickwidgets/qquickwidget.cpp | 26 +++++++++++---------------
|
||||
1 file changed, 11 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/src/quickwidgets/qquickwidget.cpp b/src/quickwidgets/qquickwidget.cpp
|
||||
index 39780f8de3..223d91f579 100644
|
||||
--- a/src/quickwidgets/qquickwidget.cpp
|
||||
+++ b/src/quickwidgets/qquickwidget.cpp
|
||||
@@ -106,6 +106,7 @@ void QQuickWidgetPrivate::init(QQmlEngine* e)
|
||||
|
||||
renderControl = new QQuickWidgetRenderControl(q);
|
||||
offscreenWindow = new QQuickWindow(*new QQuickOffcreenWindowPrivate(),renderControl);
|
||||
+ offscreenWindow->setScreen(q->screen());
|
||||
offscreenWindow->setTitle(QString::fromLatin1("Offscreen"));
|
||||
offscreenWindow->setObjectName(QString::fromLatin1("QQuickOffScreenWindow"));
|
||||
// Do not call create() on offscreenWindow.
|
||||
@@ -901,9 +902,7 @@ void QQuickWidgetPrivate::createContext()
|
||||
|
||||
context = new QOpenGLContext;
|
||||
context->setFormat(offscreenWindow->requestedFormat());
|
||||
- const QWindow *win = q->window()->windowHandle();
|
||||
- if (win && win->screen())
|
||||
- context->setScreen(win->screen());
|
||||
+ context->setScreen(q->screen());
|
||||
QOpenGLContext *shareContext = qt_gl_global_share_context();
|
||||
if (!shareContext)
|
||||
shareContext = QWidgetPrivate::get(q->window())->shareContext();
|
||||
@@ -1520,19 +1519,16 @@ bool QQuickWidget::event(QEvent *e)
|
||||
d->handleWindowChange();
|
||||
break;
|
||||
|
||||
- case QEvent::ScreenChangeInternal:
|
||||
- if (QWindow *window = this->window()->windowHandle()) {
|
||||
- QScreen *newScreen = window->screen();
|
||||
-
|
||||
- if (d->offscreenWindow)
|
||||
- d->offscreenWindow->setScreen(newScreen);
|
||||
- if (d->offscreenSurface)
|
||||
- d->offscreenSurface->setScreen(newScreen);
|
||||
+ case QEvent::ScreenChangeInternal: {
|
||||
+ QScreen *newScreen = screen();
|
||||
+ if (d->offscreenWindow)
|
||||
+ d->offscreenWindow->setScreen(newScreen);
|
||||
+ if (d->offscreenSurface)
|
||||
+ d->offscreenSurface->setScreen(newScreen);
|
||||
#if QT_CONFIG(opengl)
|
||||
- if (d->context)
|
||||
- d->context->setScreen(newScreen);
|
||||
+ if (d->context)
|
||||
+ d->context->setScreen(newScreen);
|
||||
#endif
|
||||
- }
|
||||
|
||||
if (d->useSoftwareRenderer
|
||||
#if QT_CONFIG(opengl)
|
||||
@@ -1545,7 +1541,7 @@ bool QQuickWidget::event(QEvent *e)
|
||||
d->render(true);
|
||||
}
|
||||
break;
|
||||
-
|
||||
+ }
|
||||
case QEvent::Show:
|
||||
case QEvent::Move:
|
||||
d->updatePosition();
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,25 @@
|
||||
diff --git a/src/qml/jsruntime/qv4regexp.cpp b/src/qml/jsruntime/qv4regexp.cpp
|
||||
index 76daead8..4f707703 100644
|
||||
--- a/src/qml/jsruntime/qv4regexp.cpp
|
||||
+++ b/src/qml/jsruntime/qv4regexp.cpp
|
||||
@@ -37,6 +37,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
+#include <limits>
|
||||
#include "qv4regexp_p.h"
|
||||
#include "qv4engine_p.h"
|
||||
#include "qv4scopedvalue_p.h"
|
||||
diff --git a/src/qmldebug/qqmlprofilerevent_p.h b/src/qmldebug/qqmlprofilerevent_p.h
|
||||
index a7e37d19..21c3b465 100644
|
||||
--- a/src/qmldebug/qqmlprofilerevent_p.h
|
||||
+++ b/src/qmldebug/qqmlprofilerevent_p.h
|
||||
@@ -40,6 +40,8 @@
|
||||
#ifndef QQMLPROFILEREVENT_P_H
|
||||
#define QQMLPROFILEREVENT_P_H
|
||||
|
||||
+#include <limits>
|
||||
+
|
||||
#include "qqmlprofilerclientdefinitions_p.h"
|
||||
|
||||
#include <QtCore/qstring.h>
|
@ -0,0 +1,89 @@
|
||||
Parent: f5a4e984 (QQuickTextInputPrivate: refactor getImplicitWidth() to calculateImplicitWidth())
|
||||
Author: David Redondo <qt@david-redondo.de>
|
||||
AuthorDate: 2020-05-13 11:04:23 +0200
|
||||
Commit: Mitch Curtis <mitch.curtis@qt.io>
|
||||
CommitDate: 2020-05-25 10:58:35 +0200
|
||||
|
||||
QQuickItemView: Fix max(X/Y)Extent()
|
||||
|
||||
QQuickFlickable maxXExtent() and maxYExtent() return the amount of space
|
||||
that is not shown when inside a ScrollView. QQuickItemView however just
|
||||
returned width() if vertical and height() if horizontal. In these cases
|
||||
just defer to the QQuickFlickable base implementation like minXExtent()
|
||||
and minYExtent() already do.
|
||||
|
||||
This change also adds tst_qquicklistview2 to speed up development.
|
||||
tst_QQuickListView is almost 9000 lines long, and compiling it
|
||||
is slow. In addition, a similar approach (creating a second test to
|
||||
avoid the slowness of a massive one) already exists for QQuickItem
|
||||
tests.
|
||||
|
||||
Fixes: QTBUG-83890
|
||||
Pick-to: 5.15
|
||||
Change-Id: I7f4060c2f46ae07611bedceca0d322c5f7f6affb
|
||||
|
||||
diff --git a/src/quick/items/qquickitemview.cpp b/src/quick/items/qquickitemview.cpp
|
||||
index 2b4ca9e2..f2feba2a 100644
|
||||
--- a/src/quick/items/qquickitemview.cpp
|
||||
+++ b/src/quick/items/qquickitemview.cpp
|
||||
@@ -1393,7 +1393,7 @@ qreal QQuickItemView::maxYExtent() const
|
||||
{
|
||||
Q_D(const QQuickItemView);
|
||||
if (d->layoutOrientation() == Qt::Horizontal)
|
||||
- return height();
|
||||
+ return QQuickFlickable::maxYExtent();
|
||||
|
||||
if (d->vData.maxExtentDirty) {
|
||||
d->maxExtent = d->maxExtentForAxis(d->vData, false);
|
||||
@@ -1421,7 +1421,7 @@ qreal QQuickItemView::maxXExtent() const
|
||||
{
|
||||
Q_D(const QQuickItemView);
|
||||
if (d->layoutOrientation() == Qt::Vertical)
|
||||
- return width();
|
||||
+ return QQuickFlickable::maxXExtent();
|
||||
|
||||
if (d->hData.maxExtentDirty) {
|
||||
d->maxExtent = d->maxExtentForAxis(d->hData, true);
|
||||
diff --git a/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp b/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
|
||||
index a7aefbe4..afe5c5ac 100644
|
||||
--- a/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
|
||||
+++ b/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
|
||||
@@ -73,6 +73,8 @@ public:
|
||||
tst_QQuickListView();
|
||||
|
||||
private slots:
|
||||
+ // WARNING: please add new tests to tst_qquicklistview2; this file is too slow to work with.
|
||||
+
|
||||
void init();
|
||||
void cleanupTestCase();
|
||||
// Test QAbstractItemModel model types
|
||||
@@ -300,6 +302,8 @@ private slots:
|
||||
void clickHeaderAndFooterWhenClip();
|
||||
void animatedDelegate();
|
||||
|
||||
+ // WARNING: please add new tests to tst_qquicklistview2; this file is too slow to work with.
|
||||
+
|
||||
private:
|
||||
template <class T> void items(const QUrl &source);
|
||||
template <class T> void changed(const QUrl &source);
|
||||
@@ -10109,6 +10113,8 @@ void tst_QQuickListView::animatedDelegate()
|
||||
}
|
||||
}
|
||||
|
||||
+// WARNING: please add new tests to tst_qquicklistview2; this file is too slow to work with.
|
||||
+
|
||||
QTEST_MAIN(tst_QQuickListView)
|
||||
|
||||
#include "tst_qquicklistview.moc"
|
||||
diff --git a/tests/auto/quick/quick.pro b/tests/auto/quick/quick.pro
|
||||
index 45bcf8a9..00f7d64d 100644
|
||||
--- a/tests/auto/quick/quick.pro
|
||||
+++ b/tests/auto/quick/quick.pro
|
||||
@@ -67,6 +67,7 @@ QUICKTESTS += \
|
||||
qquickitem2 \
|
||||
qquickitemlayer \
|
||||
qquicklistview \
|
||||
+ qquicklistview2 \
|
||||
qquicktableview \
|
||||
qquickloader \
|
||||
qquickmousearea \
|
@ -0,0 +1,23 @@
|
||||
/* qvglobal_p.h */
|
||||
/* This file is here to prevent a file conflict on multiarch systems. A
|
||||
* conflict will occur because qconfig.h has arch-specific definitions.
|
||||
*
|
||||
* DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
|
||||
|
||||
#ifndef MULTILIB_QV4GLOBAL_H
|
||||
#define MULTILIB_QV4GLOBAL_H
|
||||
|
||||
#ifndef __WORDSIZE
|
||||
#include <bits/wordsize.h>
|
||||
#endif
|
||||
|
||||
#if __WORDSIZE == 32
|
||||
#include <private/qv4global_p-32.h>
|
||||
#elif __WORDSIZE == 64
|
||||
#include <private/qv4global_p-64.h>
|
||||
#else
|
||||
#error "unexpected value for __WORDSIZE macro"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -0,0 +1,709 @@
|
||||
# Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2061194
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
%global qt_module qtdeclarative
|
||||
|
||||
# definition borrowed from qtbase
|
||||
%global multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc s390x s390 sparc64 sparcv9
|
||||
|
||||
%global build_tests 1
|
||||
|
||||
#global bootstrap 1
|
||||
|
||||
Summary: Qt5 - QtDeclarative component
|
||||
Name: qt5-%{qt_module}
|
||||
Version: 5.15.3
|
||||
Release: 1%{?dist}
|
||||
|
||||
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
|
||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||
Url: http://www.qt.io
|
||||
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
|
||||
|
||||
# header file to workaround multilib issue
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1441343
|
||||
Source5: qv4global_p-multilib.h
|
||||
|
||||
## upstream patches
|
||||
## repo: https://invent.kde.org/qt/qt/qtdeclarative
|
||||
## branch: kde/5.15
|
||||
## git format-patch v5.15.3-lts-lgpl
|
||||
Patch1: 0001-Give-a-warning-when-StyledText-encounters-a-non-supp.patch
|
||||
Patch2: 0002-Add-missing-limits-include-to-fix-build-with-GCC-11.patch
|
||||
Patch3: 0003-Document-that-StyledText-also-supports-nbsp-and-quot.patch
|
||||
Patch4: 0004-Support-apos-in-styled-text.patch
|
||||
Patch5: 0005-Remove-unused-QPointer-QQuickPointerMask.patch
|
||||
Patch6: 0006-Include-limits-in-Yarr.h-to-fix-build-with-GCC-11.patch
|
||||
Patch7: 0007-QQuickLoader-Do-not-incubate-if-the-source-arrives-a.patch
|
||||
Patch8: 0008-QQmlDelegateModel-Refresh-the-view-when-a-column-is-.patch
|
||||
Patch9: 0009-Fix-sweep-step-for-tainted-QObject-JavaScript-wrappe.patch
|
||||
Patch10: 0010-Fix-distorted-text-with-subpixel-matrix-translation.patch
|
||||
Patch11: 0011-Revert-Fix-for-possible-crash-in-QSGDefaultLayer-gra.patch
|
||||
Patch12: 0012-QQuickItemAnimation-close-potential-memory-leak.patch
|
||||
Patch13: 0013-qqmldelegatemodel-Fix-out-of-bounds-cache-removal.patch
|
||||
Patch14: 0014-QQuickWindow-don-t-leak-old-screenChanged-connection.patch
|
||||
Patch15: 0015-Fix-TapHandler-so-that-it-actually-registers-a-tap.patch
|
||||
Patch16: 0016-Revert-Fix-TapHandler-so-that-it-actually-registers-.patch
|
||||
Patch17: 0017-QQmlJs-FixedPoolArray-fix-UB-precondition-violation-.patch
|
||||
Patch18: 0018-QQuickTextInput-update-cursor-rectangle-after-paddin.patch
|
||||
Patch19: 0019-V4-Do-not-call-dtor-of-an-object-we-continue-to-use.patch
|
||||
Patch20: 0020-Make-sure-QQuickWidget-and-its-offscreen-window-s-sc.patch
|
||||
|
||||
## upstreamable patches
|
||||
Patch100: %{name}-gcc11.patch
|
||||
# https://pagure.io/fedora-kde/SIG/issue/82
|
||||
Patch101: qtdeclarative-5.15.0-FixMaxXMaxYExtent.patch
|
||||
|
||||
# filter qml provides
|
||||
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
|
||||
|
||||
Obsoletes: qt5-qtjsbackend < 5.2.0
|
||||
Obsoletes: qt5-qtdeclarative-render2d < 5.7.1-10
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: qt5-rpm-macros
|
||||
BuildRequires: qt5-qtbase-devel >= %{version}
|
||||
BuildRequires: qt5-qtbase-private-devel
|
||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||
BuildRequires: python%{python3_pkgversion}
|
||||
|
||||
%if 0%{?bootstrap}
|
||||
Obsoletes: %{name}-examples < %{version}-%{release}
|
||||
%global no_examples CONFIG-=compile_examples
|
||||
%endif
|
||||
|
||||
%if 0%{?build_tests}
|
||||
BuildRequires: dbus-x11
|
||||
BuildRequires: mesa-dri-drivers
|
||||
BuildRequires: time
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Obsoletes: qt5-qtjsbackend-devel < 5.2.0
|
||||
Obsoletes: qt5-qtdeclarative-render2d-devel < 5.7.1-10
|
||||
Provides: %{name}-private-devel = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: qt5-qtbase-devel%{?_isa}
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package static
|
||||
Summary: Static library files for %{name}
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
%description static
|
||||
%{summary}.
|
||||
|
||||
%package examples
|
||||
Summary: Programming examples for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%description examples
|
||||
%{summary}.
|
||||
|
||||
|
||||
%if 0%{?build_tests}
|
||||
%package tests
|
||||
Summary: Unit tests for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description tests
|
||||
%{summary}.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
|
||||
|
||||
|
||||
%build
|
||||
|
||||
# HACK so calls to "python" get what we want
|
||||
ln -s %{__python3} python
|
||||
export PATH=`pwd`:$PATH
|
||||
|
||||
%qmake_qt5
|
||||
|
||||
%make_build
|
||||
|
||||
%if 0%{?build_tests}
|
||||
%qt5_build_tests
|
||||
%endif
|
||||
|
||||
%install
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
|
||||
%if 0%{?build_tests}
|
||||
%qt5_install_tests
|
||||
%endif
|
||||
|
||||
%ifarch %{multilib_archs}
|
||||
# multilib: qv4global_p.h
|
||||
mv %{buildroot}%{_qt5_headerdir}/QtQml/%{version}/QtQml/private/qv4global_p.h \
|
||||
%{buildroot}%{_qt5_headerdir}/QtQml/%{version}/QtQml/private/qv4global_p-%{__isa_bits}.h
|
||||
install -p -m644 -D %{SOURCE5} %{buildroot}%{_qt5_headerdir}/QtQml/%{version}/QtQml/private/qv4global_p.h
|
||||
%endif
|
||||
|
||||
# hardlink files to %{_bindir}, add -qt5 postfix to not conflict
|
||||
mkdir %{buildroot}%{_bindir}
|
||||
pushd %{buildroot}%{_qt5_bindir}
|
||||
for i in * ; do
|
||||
case "${i}" in
|
||||
# qt4 conflicts
|
||||
qmlplugindump|qmlprofiler)
|
||||
ln -v ${i} %{buildroot}%{_bindir}/${i}-qt5
|
||||
ln -sv ${i} ${i}-qt5
|
||||
;;
|
||||
# qtchooser stuff
|
||||
qml|qmlbundle|qmlmin|qmlscene)
|
||||
ln -v ${i} %{buildroot}%{_bindir}/${i}
|
||||
ln -v ${i} %{buildroot}%{_bindir}/${i}-qt5
|
||||
ln -sv ${i} ${i}-qt5
|
||||
;;
|
||||
*)
|
||||
ln -v ${i} %{buildroot}%{_bindir}/${i}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
popd
|
||||
|
||||
## .prl/.la file love
|
||||
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
||||
pushd %{buildroot}%{_qt5_libdir}
|
||||
for prl_file in libQt5*.prl ; do
|
||||
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
|
||||
rm -fv "$(basename ${prl_file} .prl).la"
|
||||
sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
|
||||
done
|
||||
popd
|
||||
|
||||
|
||||
%check
|
||||
%if 0%{?tests}
|
||||
export CTEST_OUTPUT_ON_FAILURE=1
|
||||
export PATH=%{buildroot}%{_qt5_bindir}:$PATH
|
||||
export LD_LIBRARY_PATH=%{buildroot}%{_qt5_libdir}
|
||||
make sub-tests-all %{?_smp_mflags}
|
||||
xvfb-run -a \
|
||||
dbus-launch --exit-with-session \
|
||||
time \
|
||||
make check -k -C tests ||:
|
||||
%endif
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license LICENSE.LGPL*
|
||||
%{_qt5_libdir}/libQt5Qml.so.5*
|
||||
%{_qt5_libdir}/libQt5QmlModels.so.5*
|
||||
%{_qt5_libdir}/libQt5QmlWorkerScript.so.5*
|
||||
%{_qt5_libdir}/libQt5Quick.so.5*
|
||||
%{_qt5_libdir}/libQt5QuickWidgets.so.5*
|
||||
%{_qt5_libdir}/libQt5QuickParticles.so.5*
|
||||
%{_qt5_libdir}/libQt5QuickShapes.so.5*
|
||||
%{_qt5_libdir}/libQt5QuickTest.so.5*
|
||||
%{_qt5_plugindir}/qmltooling/
|
||||
%{_qt5_archdatadir}/qml/
|
||||
|
||||
%files devel
|
||||
%{_bindir}/qml*
|
||||
%{_qt5_bindir}/qml*
|
||||
%{_qt5_headerdir}/Qt*/
|
||||
%{_qt5_libdir}/libQt5Qml.so
|
||||
%{_qt5_libdir}/libQt5Qml.prl
|
||||
%{_qt5_libdir}/libQt5QmlModels.so
|
||||
%{_qt5_libdir}/libQt5QmlModels.prl
|
||||
%{_qt5_libdir}/libQt5QmlWorkerScript.so
|
||||
%{_qt5_libdir}/libQt5QmlWorkerScript.prl
|
||||
%{_qt5_libdir}/libQt5Quick*.so
|
||||
%{_qt5_libdir}/libQt5Quick*.prl
|
||||
%dir %{_qt5_libdir}/cmake/Qt5Quick*/
|
||||
%{_qt5_libdir}/cmake/Qt5*/Qt5*Config*.cmake
|
||||
%{_qt5_libdir}/metatypes/qt5*_metatypes.json
|
||||
%{_qt5_libdir}/pkgconfig/Qt5*.pc
|
||||
%{_qt5_archdatadir}/mkspecs/modules/*.pri
|
||||
%{_qt5_archdatadir}/mkspecs/features/*.prf
|
||||
%dir %{_qt5_libdir}/cmake/Qt5Qml/
|
||||
%{_qt5_libdir}/cmake/Qt5Qml/Qt5Qml_*Factory.cmake
|
||||
%{_qt5_libdir}/cmake/Qt5QmlImportScanner/
|
||||
|
||||
%files static
|
||||
%{_qt5_libdir}/libQt5QmlDevTools.a
|
||||
%{_qt5_libdir}/libQt5QmlDevTools.prl
|
||||
%{_qt5_libdir}/libQt5PacketProtocol.a
|
||||
%{_qt5_libdir}/libQt5PacketProtocol.prl
|
||||
%{_qt5_libdir}/libQt5QmlDebug.a
|
||||
%{_qt5_libdir}/libQt5QmlDebug.prl
|
||||
|
||||
%if ! 0%{?no_examples:1}
|
||||
%files examples
|
||||
%{_qt5_examplesdir}/
|
||||
%endif
|
||||
|
||||
%if 0%{?build_tests}
|
||||
%files tests
|
||||
%{_qt5_libdir}/qt5/tests
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Mar 25 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-1
|
||||
- 5.15.3 + sync with Fedora
|
||||
Resolves: bz#2061355
|
||||
|
||||
* Thu Dec 09 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-10
|
||||
- Sync with Fedora
|
||||
Resolves: bz#2025420
|
||||
|
||||
* Wed Sep 08 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-9
|
||||
- Sync with Fedora:
|
||||
- sync kde/5.15 branch fixes
|
||||
- pull in candidate fix QTBUG-83890
|
||||
Resolves: bz#1988934
|
||||
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.15.2-8
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Thu Jun 10 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-7
|
||||
- Let qt5_install_tests macro handle mangling python shebangs
|
||||
Resolves: bz#1968462
|
||||
|
||||
* Wed Jun 09 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-6
|
||||
- Add gating tests
|
||||
Resolves: bz#1968462
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.15.2-5
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Dec 10 12:36:25 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.2-3
|
||||
- Bump for eln build
|
||||
|
||||
* Tue Nov 24 07:54:13 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.2-2
|
||||
- Rebuild for qtbase with -no-reduce-relocations option
|
||||
|
||||
* Fri Nov 20 09:30:45 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.2-1
|
||||
- 5.15.2
|
||||
|
||||
* Fri Oct 16 2020 Jeff Law <law@redhat.com> - 5.15.1-2
|
||||
- Fix missing #includes for gcc-11
|
||||
|
||||
* Thu Sep 10 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.1-1
|
||||
- 5.15.1
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sat Apr 04 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.14.2-1
|
||||
- 5.14.2
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.13.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Mon Dec 09 2019 Jan Grulich <jgrulich@redhat.com> - 5.13.2-1
|
||||
- 5.13.2
|
||||
|
||||
* Wed Oct 16 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-4
|
||||
- Drop revert of upstream change
|
||||
|
||||
* Tue Oct 08 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.5-3
|
||||
- bisected different upstream commit as culprit for plasma notification crasher (#1758263)
|
||||
|
||||
* Mon Oct 07 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.5-2
|
||||
- revert upstream commit possibly related to plasma notification applet crashes (#1758263)
|
||||
|
||||
* Tue Sep 24 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
|
||||
- 5.12.5
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Tue Jul 16 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.4-2
|
||||
- build with python3
|
||||
|
||||
* Fri Jun 14 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.4-1
|
||||
- 5.12.4
|
||||
|
||||
* Tue Jun 04 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.3-1
|
||||
- 5.12.3
|
||||
|
||||
* Fri Mar 15 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-2
|
||||
- de-bootstrap
|
||||
|
||||
* Mon Feb 04 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-1
|
||||
- 5.12.1
|
||||
- drop remants of sse2 hack support
|
||||
- add bootstrap support (examples)
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Dec 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.3-1
|
||||
- 5.11.3
|
||||
|
||||
* Fri Sep 21 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.2-1
|
||||
- 5.11.2
|
||||
|
||||
* Sun Jul 15 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-3
|
||||
- BR: /usr/bin/python
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-1
|
||||
- 5.11.1
|
||||
|
||||
* Mon Jun 18 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-2
|
||||
- %%ix86: nosse2_hack on < f29 only
|
||||
|
||||
* Wed May 23 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-1
|
||||
- 5.11.0
|
||||
- i686: use nosse2_hack again
|
||||
|
||||
* Tue Apr 03 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.1-5
|
||||
- pull in candidate memleak fix (review#224684)
|
||||
|
||||
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.10.1-4
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Thu Mar 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.1-3
|
||||
- BR: qt5-rpm-macros
|
||||
|
||||
* Mon Mar 05 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.1-2
|
||||
- BR: gcc-c++, use %%make_build %%make_install %%ldconfig_scriptlets
|
||||
|
||||
* Tue Feb 13 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
|
||||
- 5.10.1
|
||||
|
||||
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.10.0-2
|
||||
- Escape macros in %%changelog
|
||||
|
||||
* Tue Dec 19 2017 Jan Grulich <jgrulich@redhat.com> - 5.10.0-1
|
||||
- 5.10.0
|
||||
|
||||
* Thu Nov 23 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.3-1
|
||||
- 5.9.3
|
||||
|
||||
* Tue Oct 31 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-3
|
||||
- Obsoletes: qt5-qtdeclarative-render2d
|
||||
|
||||
* Thu Oct 26 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-2
|
||||
- revert commit causing regresions (QTBUG-64017)
|
||||
|
||||
* Mon Oct 09 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
|
||||
- 5.9.2
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
|
||||
- 5.9.1
|
||||
|
||||
* Thu Jun 15 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-3
|
||||
- drop shadow/out-of-tree builds (#1456211,QTBUG-37417)
|
||||
- use debian's i686/sse2 support patch
|
||||
|
||||
* Fri Jun 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
|
||||
- rebuild
|
||||
|
||||
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
|
||||
- Upstream official release
|
||||
|
||||
* Fri May 26 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.1.rc
|
||||
- Upstream Release Candidate retagged
|
||||
|
||||
* Wed May 24 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.rc.1
|
||||
- Upstream Release Candidate 1
|
||||
|
||||
* Sun May 14 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-0.5.beta3
|
||||
- Conflict in qt5-qtdeclarative-devel (#1441343), fix Release: 1%%{?dist}
|
||||
|
||||
* Mon May 08 2017 Than Ngo <than@redhat.com> - 5.9.0-0.beta.4
|
||||
- drop useless qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch,
|
||||
apply correct qtdeclarative-opensource-src-5.9.0-no_sse2.patch to
|
||||
fix the build issue in JIT on ppc64/ppc64le/s390x
|
||||
|
||||
* Fri May 05 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
|
||||
- New upstream beta3 release
|
||||
|
||||
* Sun Apr 16 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.1
|
||||
- New upstream beta release
|
||||
|
||||
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-3
|
||||
- build -doc on all archs
|
||||
|
||||
* Thu Mar 30 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-2
|
||||
- de-bootstrap
|
||||
|
||||
* Fri Jan 27 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
|
||||
- New upstream version
|
||||
- bootstrap
|
||||
|
||||
* Mon Jan 02 2017 Rex Dieter <rdieter@math.unl.edu> - 5.7.1-6
|
||||
- filter qml provides
|
||||
|
||||
* Sat Dec 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-5
|
||||
- restore bootstrap/doc macros, drop pkgconfig-style deps (for now)
|
||||
|
||||
* Sat Dec 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-4
|
||||
- drop BR: cmake (handled by qt5-rpm-macros now)
|
||||
|
||||
* Fri Dec 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-3
|
||||
- rebuild
|
||||
|
||||
* Fri Dec 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
|
||||
- 5.7.1 dec5 snapshot
|
||||
|
||||
* Wed Nov 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
|
||||
- New upstream version
|
||||
|
||||
* Mon Jul 04 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-2
|
||||
- Compiled with gcc
|
||||
|
||||
* Tue Jun 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
|
||||
- Qt 5.7.0 release
|
||||
|
||||
* Thu Jun 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-0.1
|
||||
- Prepare for 5.7.0
|
||||
|
||||
* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
|
||||
- Update to 5.6.1
|
||||
|
||||
* Thu Jun 02 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-12
|
||||
- pull in upstream qml/jsruntime workaround (ie, apply compiler workarounds only for src/qml/)
|
||||
|
||||
* Tue May 31 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-11
|
||||
- include crasher workaround (#1259472,kde#346118)
|
||||
|
||||
* Sat May 28 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-10
|
||||
- macro'ize no_sse2 hack (to make it easier to enable/disable)
|
||||
- re-introduce -fno-delete-null-pointer-checks here (following upstream)
|
||||
- add -fno-lifetime-dse too, helps fix i686/qml crasher (#1331593)
|
||||
- disable tests (for now, not useful yet)
|
||||
|
||||
* Fri May 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-9
|
||||
- Use system double-conversion (#1078524)
|
||||
|
||||
* Thu May 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-8
|
||||
- -devel: don't own libQt5QuickWidgets.so.5 (#1337621)
|
||||
|
||||
* Thu May 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-7
|
||||
- BR: mesa-dri-drivers (tests)
|
||||
|
||||
* Thu May 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-6
|
||||
- drop local -fno-delete-null-pointer-checks hack, used in all Qt5 builds now
|
||||
- add %%check
|
||||
|
||||
* Sun Apr 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-5
|
||||
- BR: qt5-qtbase-private-devel, -devel: Provides: -private-devel
|
||||
|
||||
* Fri Mar 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
|
||||
- backport upstream fixes
|
||||
- drop -fno-delete-null-pointer-checks hack (included in qt5-rpm-macros as needed now)
|
||||
|
||||
* Sat Mar 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
|
||||
- BR: cmake (cmake autoprovides)
|
||||
|
||||
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
|
||||
- rebuild
|
||||
|
||||
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
|
||||
- 5.6.0 final release
|
||||
|
||||
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.11.rc
|
||||
- Update to final RC
|
||||
|
||||
* Mon Feb 22 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10
|
||||
- Update RC tarball from git
|
||||
|
||||
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9
|
||||
- Update RC release
|
||||
|
||||
* Tue Feb 02 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.8.beta3
|
||||
- build with -fno-delete-null-pointer-checks to workaround gcc6-related runtime crashes (#1303643)
|
||||
|
||||
* Thu Jan 28 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.7.beta3
|
||||
- backport fix for older compilers (aka rhel6)
|
||||
|
||||
* Sun Jan 17 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.6.beta3
|
||||
- use %%license
|
||||
|
||||
* Mon Dec 21 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.beta3
|
||||
- fix Source URL, Release: 1%%{?dist}
|
||||
|
||||
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4
|
||||
- Update to final beta3 release
|
||||
|
||||
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
|
||||
- Official beta3 release
|
||||
|
||||
* Sun Dec 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2
|
||||
- de-bootstrap
|
||||
|
||||
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
|
||||
- Start to implement 5.6.0 beta3, bootstrap
|
||||
|
||||
* Sat Oct 24 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-3
|
||||
- workaround QQuickShaderEffectSource::updatePaintNode deadlock (#1237269, kde#348385)
|
||||
|
||||
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
|
||||
- Update to final release 5.5.1
|
||||
|
||||
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
|
||||
- Update to Qt 5.5.1 RC1
|
||||
|
||||
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
|
||||
- -docs: BuildRequires: qt5-qhelpgenerator
|
||||
|
||||
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
|
||||
- tighten qtbase dep (#1233829), .spec cosmetics
|
||||
|
||||
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
|
||||
- New final upstream release Qt 5.5.0
|
||||
|
||||
* Mon Jun 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.4.rc
|
||||
- Second round of builds now with bootstrap enabled due new qttools
|
||||
|
||||
* Sat Jun 27 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.3.rc
|
||||
- Disable bootstrap
|
||||
|
||||
* Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
|
||||
- Update for official RC1 released packages
|
||||
|
||||
* Mon Jun 08 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.2-2
|
||||
- restore fix for QTBUG-45753/kde-345544 lost in 5.4.2 rebase
|
||||
|
||||
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> 5.4.2-1
|
||||
- 5.4.2
|
||||
|
||||
* Sat May 02 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-4
|
||||
- pull in some upstream fixes, for QTBUG-45753/kde-345544 in particular
|
||||
|
||||
* Wed Apr 22 2015 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.4.1-3
|
||||
- fix non-sse2 support (kde#346244) and optimize sse2 binaries
|
||||
|
||||
* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
|
||||
- rebuild (gcc5)
|
||||
|
||||
* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
|
||||
- 5.4.1
|
||||
|
||||
* Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-3
|
||||
- rebuild (gcc)
|
||||
|
||||
* Sat Feb 14 2015 Ville Skyttä <ville.skytta@iki.fi> - 5.4.0-2
|
||||
- Fix cmake dir ownerhips
|
||||
|
||||
* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
|
||||
- 5.4.0 (final)
|
||||
|
||||
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
|
||||
- 5.4.0-rc
|
||||
|
||||
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta3
|
||||
- use new %%qmake_qt5 macro
|
||||
|
||||
* Sat Oct 18 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.4.0-0.1.beta3
|
||||
- 5.4.0-beta3
|
||||
- %%ix84: drop sse2-optimized bits, need to rethink if/how to support it now
|
||||
|
||||
* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
|
||||
- 5.3.2
|
||||
|
||||
* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.1-3
|
||||
- -qt5 wrappers for qml qmlbundle qmlmin qmlscene
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
|
||||
- 5.3.1
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
|
||||
- 5.3.0
|
||||
|
||||
* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
|
||||
- 5.2.1
|
||||
|
||||
* Sun Feb 02 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 5.2.0-6
|
||||
- Add AArch64 support (RHBUG: 1040452, QTBUG-35528)
|
||||
|
||||
* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-5
|
||||
- build -examples only if supported
|
||||
|
||||
* Sun Jan 26 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-4
|
||||
- -examples subpkg
|
||||
|
||||
* Tue Jan 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
|
||||
- epel7 bootstrapped
|
||||
|
||||
* Mon Jan 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
|
||||
- BR: qt5-qtxmlpatterns-devel (#1048558)
|
||||
|
||||
* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
|
||||
- 5.2.0
|
||||
|
||||
* Tue Dec 10 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-0.12.rc1
|
||||
- support out-of-src-tree builds
|
||||
- %%ix86: install sse2/jit version to %%_qt5_libdir/sse2/
|
||||
|
||||
* Thu Dec 05 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.11.rc1
|
||||
- %%ix86: cannot assume sse2 (and related support) or the JIT that requires it... disable.
|
||||
|
||||
* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
|
||||
- 5.2.0-rc1
|
||||
|
||||
* Mon Nov 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.beta31
|
||||
- enable -doc only on primary archs (allow secondary bootstrap)
|
||||
|
||||
* Sat Nov 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta31
|
||||
- rebuild (arm/qreal)
|
||||
|
||||
* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta31
|
||||
- 5.2.0-beta31
|
||||
|
||||
* Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
|
||||
- bootstrap ppc
|
||||
|
||||
* Tue Oct 01 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
|
||||
- 5.2.0-alpha
|
||||
- Obsoletes: qt5-qtjsbackend
|
||||
- -doc subpkg
|
||||
|
||||
* Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
|
||||
- 5.1.1
|
||||
|
||||
* Tue Aug 20 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-4
|
||||
- qt5-qtjsbackend only supports ix86, x86_64 and arm
|
||||
|
||||
* Tue May 14 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-3
|
||||
- fix qmlprofiler conflict with qt-creator
|
||||
|
||||
* Fri Apr 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
|
||||
- fix qmlplugindump conflict with qt4-devel
|
||||
- include license files, dist/changes*
|
||||
|
||||
* Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
|
||||
- 5.0.2
|
||||
|
||||
* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
|
||||
- first try
|
||||
|
Loading…
Reference in new issue