From 6356a11e07cbda92b3aa78732b34375cd6c9436e Mon Sep 17 00:00:00 2001 From: Antti Kokko Date: Wed, 31 Oct 2018 11:13:12 +0200 Subject: Add changes file for Qt 5.12.0 Change-Id: Ia703f49cf0218087a7b51a63d1a86423573ed62d Reviewed-by: Mitch Curtis --- dist/changes-5.12.0 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dist/changes-5.12.0 diff --git a/dist/changes-5.12.0 b/dist/changes-5.12.0 new file mode 100644 index 00000000..0453ff44 --- /dev/null +++ b/dist/changes-5.12.0 @@ -0,0 +1,25 @@ +Qt 5.12 introduces many new features and improvements as well as bugfixes +over the 5.11.x series. For more details, refer to the online documentation +included in this distribution. The documentation is also available online: + +https://doc.qt.io/qt-5/index.html + +The Qt version 5.12 series is binary compatible with the 5.11.x series. +Applications compiled for 5.11 will continue to run with 5.12. + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* Dialogs * +**************************************************************************** + + - [QTBUG-69095] Add a signal to the Dialog class to allow the client to + intercept the button presses and optionally prevent further processing + of the event. This allows performing some validation on the fields + before dismissing the dialog. -- cgit v1.2.1 From 08a6a6489e12450befcace2659f123e6c1f1be9a Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Fri, 9 Nov 2018 11:45:42 +0100 Subject: Doc: Ignore WinRT-specific qml files from the documentation build These files contain no documentation and cause conflicts with documentation sources that actually try to document them. Task-number: QTBUG-71174 Change-Id: I7382a1e05bed2070c45a4234cc3389a02922cdbf Reviewed-by: Paul Wicking Reviewed-by: Mitch Curtis --- src/controls/doc/qtquickcontrols1.qdocconf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/controls/doc/qtquickcontrols1.qdocconf b/src/controls/doc/qtquickcontrols1.qdocconf index 29a01ae2..d2ea0c47 100644 --- a/src/controls/doc/qtquickcontrols1.qdocconf +++ b/src/controls/doc/qtquickcontrols1.qdocconf @@ -69,7 +69,9 @@ excludefiles += ../TableView.qml \ excludedirs += ../Styles/Desktop \ ../Styles/Android \ - ../Styles/iOS + ../Styles/iOS \ + ../Styles/WinRT + imagedirs += images \ ../../extras/doc/images -- cgit v1.2.1 From 7250a5c2f9dbb61e2c8289f1bf28db2300ce43ad Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 9 Nov 2018 15:49:57 +0100 Subject: Fix button menus not opening on the second attempt Assign a parent to the QQmlComponent returned by QQuickControlSettings1::styleComponent() so that it doesn't get garbage collected by the QML engine. This was not an issue until 5.12, but it seems like a good idea regardless. Change-Id: I53265b23afab62e2276fe6e10d976a93a4f12e6f Fixes: QTBUG-71238 Reviewed-by: Frederik Gladhorn Reviewed-by: Shawn Rutledge --- src/controls/Private/qquickcontrolsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp index 95c656b2..d06f931a 100644 --- a/src/controls/Private/qquickcontrolsettings.cpp +++ b/src/controls/Private/qquickcontrolsettings.cpp @@ -161,7 +161,7 @@ QQmlComponent *QQuickControlSettings1::styleComponent(const QUrl &styleDirUrl, c styleFileUrl = makeStyleComponentUrl(controlStyleName, m_styleMap.value(QStringLiteral("Base")).m_styleDirPath); } - return new QQmlComponent(qmlEngine(control), styleFileUrl); + return new QQmlComponent(qmlEngine(control), styleFileUrl, this); } static QString relativeStyleImportPath(QQmlEngine *engine, const QString &styleName) -- cgit v1.2.1