From 5362d2d12970e435cc03dbd354fdd781ae666101 Mon Sep 17 00:00:00 2001 From: Jani Heikkinen Date: Mon, 19 Jun 2017 13:00:17 +0300 Subject: Add changes file for 5.9.1 Change-Id: I60762799a0e851a56f557acb6d823c1dfa0b4ec2 Reviewed-by: Mitch Curtis Reviewed-by: J-P Nurmi --- dist/changes-5.9.1 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dist/changes-5.9.1 diff --git a/dist/changes-5.9.1 b/dist/changes-5.9.1 new file mode 100644 index 00000000..f158083f --- /dev/null +++ b/dist/changes-5.9.1 @@ -0,0 +1,35 @@ +Qt 5.9.1 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 * +**************************************************************************** + + - Slider + * [QTBUG-47081] Fixed to not suppress updates by a drag threshold on + non-touch screens. + +**************************************************************************** +* Dialogs * +**************************************************************************** + + - [QTBUG-60861] Fixed inclusion of QML files of the QtQuick Dialogs module + in static builds. + - [QTBUG-60991] Fixed support for using QtQuick Dialogs with the QML + compiler. -- cgit v1.2.1 From 7d3e9074e16209d9df3e910834115c9a96c70318 Mon Sep 17 00:00:00 2001 From: Stephan Binner Date: Sun, 25 Jun 2017 17:55:23 +0200 Subject: Convert features.tooltip to QT_CONFIG Change-Id: I4638457a51a72666b4c73130f4a856ad93ca2f13 Reviewed-by: Oswald Buddenhagen --- src/controls/Private/qquicktooltip.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/controls/Private/qquicktooltip.cpp b/src/controls/Private/qquicktooltip.cpp index c8eb81f6..88a82e6c 100644 --- a/src/controls/Private/qquicktooltip.cpp +++ b/src/controls/Private/qquicktooltip.cpp @@ -44,9 +44,12 @@ #include #include -#if defined(QT_WIDGETS_LIB) && !defined(QT_NO_TOOLTIP) +#if defined(QT_WIDGETS_LIB) +#include +#if QT_CONFIG(tooltip) #include #endif +#endif QT_BEGIN_NAMESPACE @@ -60,7 +63,7 @@ void QQuickTooltip1::showText(QQuickItem *item, const QPointF &pos, const QStrin { 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::showText(QQuickItem *item, const QPointF &pos, const QStrin void QQuickTooltip1::hideText() { -#if defined(QT_WIDGETS_LIB) && !defined(QT_NO_TOOLTIP) +#if defined(QT_WIDGETS_LIB) && QT_CONFIG(tooltip) QToolTip::hideText(); #endif } -- cgit v1.2.1 From d4045915a9a1bec9f8b15c87ed228040f64be05e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 30 Jun 2017 09:51:40 +0200 Subject: Bump version Change-Id: I330dcde7b04619b285f91aba3258989e9222ff7e --- .qmake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.qmake.conf b/.qmake.conf index 061f0bbb..fa9dae13 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -2,4 +2,4 @@ load(qt_build_config) CONFIG += warning_clean android|ios|qnx|winrt|isEmpty(QT.widgets.name): CONFIG += no_desktop -MODULE_VERSION = 5.9.1 +MODULE_VERSION = 5.9.2 -- cgit v1.2.1 From a77494140324c3ede1f7c16086593c070d81e2b3 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 31 Jul 2017 16:18:28 +0200 Subject: Calendar: add a doc example that sets minimum/maximumDate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie2fb915a927d4c3481afa6e4ac64089440f7ac9c Reviewed-by: Nico Vertriest Reviewed-by: Topi Reiniƶ --- src/controls/Calendar.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/controls/Calendar.qml b/src/controls/Calendar.qml index 96896480..c5347c51 100644 --- a/src/controls/Calendar.qml +++ b/src/controls/Calendar.qml @@ -62,6 +62,13 @@ import QtQuick.Controls.Private 1.0 \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. -- cgit v1.2.1