Hello community, here is the log from the commit of package libqt5-qtquickcontrols for openSUSE:Factory checked in at 2017-10-23 16:20:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-qtquickcontrols (Old) and /work/SRC/openSUSE:Factory/.libqt5-qtquickcontrols.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtquickcontrols" Mon Oct 23 16:20:00 2017 rev:27 rq:533805 version:5.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-qtquickcontrols/libqt5-qtquickcontrols.changes 2017-07-08 12:24:14.132474122 +0200 +++ /work/SRC/openSUSE:Factory/.libqt5-qtquickcontrols.new/libqt5-qtquickcontrols.changes 2017-10-23 16:20:03.570018731 +0200 @@ -1,0 +2,7 @@ +Sun Oct 8 14:07:25 UTC 2017 - lbeltr...@kde.org + +- Update to 5.9.2 + * For more details please see: + https://blog.qt.io/blog/2017/10/06/qt-5-9-2-released/ + +------------------------------------------------------------------- Old: ---- qtquickcontrols-opensource-src-5.9.1.tar.xz New: ---- qtquickcontrols-opensource-src-5.9.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-qtquickcontrols.spec ++++++ --- /var/tmp/diff_new_pack.BE2X2K/_old 2017-10-23 16:20:06.349888584 +0200 +++ /var/tmp/diff_new_pack.BE2X2K/_new 2017-10-23 16:20:06.353888397 +0200 @@ -19,15 +19,15 @@ %define qt5_snapshot 0 Name: libqt5-qtquickcontrols -Version: 5.9.1 +Version: 5.9.2 Release: 0 Summary: Qt 5 Quick Controls Addon License: SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0 Group: Development/Libraries/X11 Url: https://www.qt.io %define base_name libqt5 -%define real_version 5.9.1 -%define so_version 5.9.1 +%define real_version 5.9.2 +%define so_version 5.9.2 %define tar_version qtquickcontrols-opensource-src-%{real_version} Source: https://download.qt.io/official_releases/qt/5.9/%{real_version}/submodules/%{tar_version}.tar.xz BuildRequires: fdupes ++++++ qtquickcontrols-opensource-src-5.9.1.tar.xz -> qtquickcontrols-opensource-src-5.9.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/.qmake.conf new/qtquickcontrols-opensource-src-5.9.2/.qmake.conf --- old/qtquickcontrols-opensource-src-5.9.1/.qmake.conf 2017-06-23 11:34:43.000000000 +0200 +++ new/qtquickcontrols-opensource-src-5.9.2/.qmake.conf 2017-09-26 12:17:44.000000000 +0200 @@ -2,4 +2,4 @@ CONFIG += warning_clean android|ios|qnx|winrt|isEmpty(QT.widgets.name): CONFIG += no_desktop -MODULE_VERSION = 5.9.1 +MODULE_VERSION = 5.9.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/.tag new/qtquickcontrols-opensource-src-5.9.2/.tag --- old/qtquickcontrols-opensource-src-5.9.1/.tag 2017-06-23 11:34:43.000000000 +0200 +++ new/qtquickcontrols-opensource-src-5.9.2/.tag 2017-09-26 12:17:44.000000000 +0200 @@ -1 +1 @@ -5362d2d12970e435cc03dbd354fdd781ae666101 +8476f8fff7dc5b6f140074d280828cc0f9590088 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/dist/changes-5.6.3 new/qtquickcontrols-opensource-src-5.9.2/dist/changes-5.6.3 --- old/qtquickcontrols-opensource-src-5.9.1/dist/changes-5.6.3 1970-01-01 01:00:00.000000000 +0100 +++ new/qtquickcontrols-opensource-src-5.9.2/dist/changes-5.6.3 2017-09-26 12:17:44.000000000 +0200 @@ -0,0 +1,24 @@ +Qt 5.6.3 is a bug-fix release. It maintains both forward and backward +compatibility (source and binary) with Qt 5.6.0. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + + http://doc.qt.io/qt-5/index.html + +The Qt version 5.6 series is binary compatible with the 5.5.x series. +Applications compiled for 5.5 will continue to run with 5.6. + +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. + +**************************************************************************** +* General * +**************************************************************************** + + - This release contains only minor code improvements. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/dist/changes-5.9.2 new/qtquickcontrols-opensource-src-5.9.2/dist/changes-5.9.2 --- old/qtquickcontrols-opensource-src-5.9.1/dist/changes-5.9.2 1970-01-01 01:00:00.000000000 +0100 +++ new/qtquickcontrols-opensource-src-5.9.2/dist/changes-5.9.2 2017-09-26 12:17:44.000000000 +0200 @@ -0,0 +1,31 @@ +Qt 5.9.2 is a bug-fix release. It maintains both forward and backward +compatibility (source and binary) with Qt 5.9.0. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +http://doc.qt.io/qt-5/index.html + +The Qt version 5.9 series is binary compatible with the 5.8.x series. +Applications compiled for 5.8 will continue to run with 5.9. + +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. + +**************************************************************************** +* Controls * +**************************************************************************** + + - [QTBUG-57895] Increased Label's QtQuick import version to 2.6 to make + the new revisioned properties in the QML Text base type available. + +**************************************************************************** +* Dialogs * +**************************************************************************** + + - [QTBUG-60991] Fixed QML compiler support diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/src/controls/Calendar.qml new/qtquickcontrols-opensource-src-5.9.2/src/controls/Calendar.qml --- old/qtquickcontrols-opensource-src-5.9.1/src/controls/Calendar.qml 2017-06-23 11:34:43.000000000 +0200 +++ new/qtquickcontrols-opensource-src-5.9.2/src/controls/Calendar.qml 2017-09-26 12:17:44.000000000 +0200 @@ -62,6 +62,13 @@ \l maximumDate. The earliest minimum date that can be set is 1 January, 1 AD. The latest maximum date that can be set is 25 October, 275759 AD. + \code + Calendar { + minimumDate: new Date(2017, 0, 1) + maximumDate: new Date(2018, 0, 1) + } + \endcode + The selected date is displayed using the format in the application's default locale. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/src/controls/Label.qml new/qtquickcontrols-opensource-src-5.9.2/src/controls/Label.qml --- old/qtquickcontrols-opensource-src-5.9.1/src/controls/Label.qml 2017-06-23 11:34:43.000000000 +0200 +++ new/qtquickcontrols-opensource-src-5.9.2/src/controls/Label.qml 2017-09-26 12:17:44.000000000 +0200 @@ -37,7 +37,7 @@ ** ****************************************************************************/ -import QtQuick 2.2 +import QtQuick 2.6 import QtQuick.Controls 1.2 import QtQuick.Controls.Private 1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/src/controls/Private/qquickcontrolsettings.cpp new/qtquickcontrols-opensource-src-5.9.2/src/controls/Private/qquickcontrolsettings.cpp --- old/qtquickcontrols-opensource-src-5.9.1/src/controls/Private/qquickcontrolsettings.cpp 2017-06-23 11:34:43.000000000 +0200 +++ new/qtquickcontrols-opensource-src-5.9.2/src/controls/Private/qquickcontrolsettings.cpp 2017-09-26 12:17:44.000000000 +0200 @@ -222,7 +222,7 @@ // If the style name is a path.. const QString styleNameFromEnvVar = styleEnvironmentVariable(); - if (QFile::exists(styleNameFromEnvVar)) { + if (!styleNameFromEnvVar.isEmpty() && QFile::exists(styleNameFromEnvVar)) { StyleData styleData; styleData.m_styleDirPath = styleNameFromEnvVar; m_styleMap[m_name] = styleData; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/src/controls/Private/qquicktooltip.cpp new/qtquickcontrols-opensource-src-5.9.2/src/controls/Private/qquicktooltip.cpp --- old/qtquickcontrols-opensource-src-5.9.1/src/controls/Private/qquicktooltip.cpp 2017-06-23 11:34:43.000000000 +0200 +++ new/qtquickcontrols-opensource-src-5.9.2/src/controls/Private/qquicktooltip.cpp 2017-09-26 12:17:44.000000000 +0200 @@ -44,9 +44,12 @@ #include <qpa/qplatformintegration.h> #include <QtQuick/QQuickRenderControl> -#if defined(QT_WIDGETS_LIB) && !defined(QT_NO_TOOLTIP) +#if defined(QT_WIDGETS_LIB) +#include <QtWidgets/qtwidgetsglobal.h> +#if QT_CONFIG(tooltip) #include <qtooltip.h> #endif +#endif QT_BEGIN_NAMESPACE @@ -60,7 +63,7 @@ { if (!item || !item->window()) return; -#if defined(QT_WIDGETS_LIB) && !defined(QT_NO_TOOLTIP) +#if defined(QT_WIDGETS_LIB) && QT_CONFIG(tooltip) if (QGuiApplicationPrivate::platformIntegration()-> hasCapability(QPlatformIntegration::MultipleWindows) && QCoreApplication::instance()->inherits("QApplication")) { @@ -80,7 +83,7 @@ void QQuickTooltip1::hideText() { -#if defined(QT_WIDGETS_LIB) && !defined(QT_NO_TOOLTIP) +#if defined(QT_WIDGETS_LIB) && QT_CONFIG(tooltip) QToolTip::hideText(); #endif } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/tests/auto/controls/data/tst_label.qml new/qtquickcontrols-opensource-src-5.9.2/tests/auto/controls/data/tst_label.qml --- old/qtquickcontrols-opensource-src-5.9.1/tests/auto/controls/data/tst_label.qml 2017-06-23 11:34:43.000000000 +0200 +++ new/qtquickcontrols-opensource-src-5.9.2/tests/auto/controls/data/tst_label.qml 2017-09-26 12:17:44.000000000 +0200 @@ -69,6 +69,17 @@ label.destroy() } + function test_textPaddings() { + var label = Qt.createQmlObject('import QtQuick.Controls 1.2; Label { leftPadding: 2; rightPadding: 2; topPadding: 2; bottomPadding: 2 }', testCase, ''); + + compare(label.leftPadding, 2) + compare(label.rightPadding, 2) + compare(label.topPadding, 2) + compare(label.bottomPadding, 2) + + label.destroy() + } + function test_activeFocusOnTab() { if (Qt.styleHints.tabFocusBehavior != Qt.TabFocusAllControls) skip("This function doesn't support NOT iterating all.") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtquickcontrols-opensource-src-5.9.1/tests/auto/controls/data/tst_menubar.qml new/qtquickcontrols-opensource-src-5.9.2/tests/auto/controls/data/tst_menubar.qml --- old/qtquickcontrols-opensource-src-5.9.1/tests/auto/controls/data/tst_menubar.qml 2017-06-23 11:34:43.000000000 +0200 +++ new/qtquickcontrols-opensource-src-5.9.2/tests/auto/controls/data/tst_menubar.qml 2017-09-26 12:17:44.000000000 +0200 @@ -91,15 +91,14 @@ } function test_createMenuBar() { - var menuBar = Qt.createQmlObject('import QtQuick.Controls 1.2; MenuBar {}', testCase, ''); - menuBar.destroy() + createTemporaryQmlObject('import QtQuick.Controls 1.2; MenuBar {}', testCase, ''); } function test_clickMenuBar() { if (Qt.platform.os === "osx") skip("MenuBar cannot be reliably tested on OS X") - var window = windowComponent.createObject() + var window = createTemporaryObject(windowComponent) waitForRendering(window.contentItem) var fileMenu = findChild(window, "fileMenu") compare(fileMenu !== null, true) @@ -116,14 +115,13 @@ // to a a negative coordinate mouseClick(fileMenu.__contentItem, 20, -13) tryCompare(fileMenu, "__popupVisible", false) - window.destroy() } function test_closeOnEscapePressed() { if (Qt.platform.os === "osx") skip("MenuBar cannot be reliably tested on OS X") - var window = windowComponent.createObject() + var window = createTemporaryObject(windowComponent) waitForRendering(window.contentItem) var fileMenu = findChild(window, "fileMenu") verify(fileMenu) @@ -144,7 +142,7 @@ if (Qt.platform.os === "osx") skip("MenuBar cannot be reliably tested on OS X") - var window = windowComponent.createObject() + var window = createTemporaryObject(windowComponent) waitForRendering(window.contentItem) var fileMenu = findChild(window, "fileMenu") verify(fileMenu) @@ -157,15 +155,13 @@ mouseRelease(fileMenu.__contentItem, 0, -10) tryCompare(fileMenu, "__popupVisible", true) wait(waitTime) - - window.destroy(); } function test_keyNavigation() { if (Qt.platform.os === "osx") skip("MenuBar cannot be reliably tested on OS X") - var window = windowComponent.createObject() + var window = createTemporaryObject(windowComponent) waitForRendering(window.contentItem) var fileMenu = findChild(window, "fileMenu") verify(fileMenu) @@ -247,7 +243,5 @@ keyRelease(Qt.Key_Left, Qt.NoModifier, waitTime) tryCompare(recentFilesSubMenu, "__popupVisible", false) tryCompare(recentFilesSubMenu, "__currentIndex", -1) - - window.destroy() } }