Merge remote-tracking branch 'origin/5.9.1' into 5.9
Change-Id: Ie585425d2d8d05c6ead283b70b88b00e1e3dc1febb10
commit
5176ebc9ca
|
|
@ -0,0 +1,126 @@
|
|||
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.
|
||||
|
||||
****************************************************************************
|
||||
* Qt 5.9.1 Changes *
|
||||
****************************************************************************
|
||||
|
||||
Important Behavior Changes
|
||||
--------------------------
|
||||
|
||||
- The Q_REQUIRED_RESULT macro now expands to the C++17 attribute
|
||||
[[nodiscard]] if the compiler supports it. Code using this macro needs
|
||||
to pay attention to its placement, as C++ function attributes must come
|
||||
before the declaration, unlike the GCC extension that this macro
|
||||
previously expanded to.
|
||||
|
||||
Binary Compatibility Note
|
||||
-------------------------
|
||||
|
||||
- The variable QOperatingSystemVersion::MacOSHighSierra was added in this
|
||||
release. Code that uses this variable will not run under Qt 5.9.0. If
|
||||
backwards compatibility is desired, use instead
|
||||
QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 10, 13)
|
||||
|
||||
Third-Party Code
|
||||
----------------
|
||||
|
||||
- Sqlite was updated to version 3.16.2.
|
||||
- Deleted the src/3rdparty/atspi2 directory.
|
||||
|
||||
QtCore
|
||||
------
|
||||
|
||||
- [QTBUG-60558] Fixed a bug that caused QInternal::unregisterCallback to
|
||||
crash on exit.
|
||||
- [QTBUG-61034] QT_NO_EXCEPTIONS is now reliably set when using Clang, even
|
||||
in Objective C++ mode.
|
||||
|
||||
- QHash/QMultiHash:
|
||||
* [QTBUG-60395] Fixed operator== so that two containers compare equal when
|
||||
there are multiple values with the same key.
|
||||
|
||||
- QStorageInfo
|
||||
* [QTBUG-61096] Fixed a hang on certain systems when retrieving
|
||||
information from unresponsive filesystems.
|
||||
|
||||
- QTimeZone:
|
||||
* [QTBUG-60595] Fixed sending IANA standard UTC-offset QTimeZones
|
||||
through QDataStream, which previously came out invalid after
|
||||
deserialization.
|
||||
|
||||
moc
|
||||
---
|
||||
|
||||
- [QTBUG-61204] moc no longer errors out if a C++ keyword is #define'ed
|
||||
|
||||
Platform Specific Changes
|
||||
-------------------------
|
||||
|
||||
- macOS / iOS:
|
||||
* [QTBUG-41978] QCollator now respects the ignorePunctuation property on
|
||||
Apple based platforms correctly.
|
||||
* [QTBUG-61205] Fixed the architecture information in QSysInfo.
|
||||
* QSysInfo and QOperatingSystemVersion now support the newest versions of
|
||||
Apple's operating systems.
|
||||
* [QTBUG-61053] Fixed SSL certificate verification on iOS with Secure
|
||||
Transport back-end.
|
||||
|
||||
- Windows:
|
||||
* [QTBUG-61315] Fixed invalid sorting of custom environment variables set
|
||||
via QProcessEnvironment when starting subprocesses.
|
||||
|
||||
****************************************************************************
|
||||
* Tools *
|
||||
****************************************************************************
|
||||
|
||||
configure & build system
|
||||
------------------------
|
||||
|
||||
- [QTBUG-58372] The SQL driver plugins can be built separately again.
|
||||
Note that it is necessary to configure the whole sqldrivers directory.
|
||||
- [QTBUG-60925][Unix] Fixed library retrieval from pkg-config. Again.
|
||||
- [QTBUG-60936] Fixed module version number in Qt modules' cmake config files.
|
||||
- [QTBUG-61017] Fixed configure hanging upon selecting commercial license.
|
||||
- [QTBUG-61044] Fixed license checker invocation on 32 bit systems.
|
||||
- [MinGW] The gold linker is no longer used.
|
||||
|
||||
qmake
|
||||
-----
|
||||
|
||||
- [QTBUG-38452][Android] Fixed overwriting of INSTALLS for target, and the
|
||||
resulting bogus attempts to write to /libs on the host system.
|
||||
- [QTBUG-42830][Android] INSTALL targets are no longer created for static
|
||||
libraries.
|
||||
- [QTBUG-40825][QTBUG-59457][Unix] Fixed various makespecs to append shared
|
||||
include and library locations only at the end of the search lists.
|
||||
- [QTBUG-52383][Windows] midl and rc are now invoked with /NOLOGO.
|
||||
- [QTBUG-58391][MSVC] MSVC extensions are not disabled any more when
|
||||
querying the compiler for the predefined macros to pass to moc.
|
||||
- [QTBUG-59431][VS] Fixed parsing of /utf-8 option. Again.
|
||||
- [QTBUG-60895][VS] Fixed .vcxproj generation for ActiveQt server projects.
|
||||
- [QTBUG-60059] qmake will now be more verbose when it fails to run the
|
||||
compiler while querying the toolchain's properties.
|
||||
- Various QT_<compiler>_VERSION variables were reverted to refer to the
|
||||
toolchain Qt was built with. The current toolchain's versions can be
|
||||
found in the QMAKE_<compiler>_VERSION variables.
|
||||
- QMAKE_DEFAULT_{INC,LIB}DIRS is now populated also when using clang.
|
||||
- [MinGW] Re-builds of static library projects will now create a new library
|
||||
instead of updating the previously built one.
|
||||
- [VS] Unknown /Zc:XXX options are no longer complained about.
|
||||
|
|
@ -5860,7 +5860,7 @@ QRectF QWidgetEffectSourcePrivate::boundingRect(Qt::CoordinateSystem system) con
|
|||
|
||||
void QWidgetEffectSourcePrivate::draw(QPainter *painter)
|
||||
{
|
||||
if (!context || context->painter != painter || !context->sharedPainter) {
|
||||
if (!context || context->painter != painter) {
|
||||
m_widget->render(painter);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
[deleteChildrenWithRunningGroup]
|
||||
osx-10.12
|
||||
|
|
@ -37,6 +37,7 @@
|
|||
|
||||
#include <qtimer.h>
|
||||
#include <qthread.h>
|
||||
#include <qoperatingsystemversion.h>
|
||||
|
||||
#if defined Q_OS_UNIX
|
||||
#include <unistd.h>
|
||||
|
|
@ -498,6 +499,9 @@ void tst_QTimer::moveToThread()
|
|||
{
|
||||
#if defined(Q_OS_WIN32)
|
||||
QSKIP("Does not work reliably on Windows :(");
|
||||
#elif defined(Q_OS_MACOS)
|
||||
if (QOperatingSystemVersion::current() >= QOperatingSystemVersion::MacOSSierra)
|
||||
QSKIP("Does not work reliably on macOS 10.12 (QTBUG-59679)");
|
||||
#endif
|
||||
QTimer ti1;
|
||||
QTimer ti2;
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
[processEvents]
|
||||
osx-10.12
|
||||
[testQuitLock]
|
||||
osx-10.12
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ private slots:
|
|||
void boundingRect2();
|
||||
void draw();
|
||||
void opacity();
|
||||
void nestedOpaqueOpacity();
|
||||
void grayscale();
|
||||
void colorize();
|
||||
void drawPixmapItem();
|
||||
|
|
@ -408,26 +407,6 @@ void tst_QGraphicsEffect::opacity()
|
|||
QCOMPARE(effect->m_opacity, qreal(0.5));
|
||||
}
|
||||
|
||||
void tst_QGraphicsEffect::nestedOpaqueOpacity()
|
||||
{
|
||||
// QTBUG-60231: Nesting widgets with a QGraphicsEffect on a toplevel with
|
||||
// QGraphicsOpacityEffect caused crashes due to constructing several
|
||||
// QPainter instances on a device in the fast path for
|
||||
// QGraphicsOpacityEffect::opacity=1
|
||||
QWidget topLevel;
|
||||
topLevel.setWindowTitle(QTest::currentTestFunction());
|
||||
topLevel.resize(QApplication::desktop()->screenGeometry(&topLevel).size() / 8);
|
||||
QGraphicsOpacityEffect *opacityEffect = new QGraphicsOpacityEffect;
|
||||
opacityEffect->setOpacity(1);
|
||||
topLevel.setGraphicsEffect(opacityEffect);
|
||||
QWidget *child = new QWidget(&topLevel);
|
||||
child->resize(topLevel.size() / 2);
|
||||
QGraphicsDropShadowEffect *childEffect = new QGraphicsDropShadowEffect;
|
||||
child->setGraphicsEffect(childEffect);
|
||||
topLevel.show();
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&topLevel));
|
||||
}
|
||||
|
||||
void tst_QGraphicsEffect::grayscale()
|
||||
{
|
||||
if (qApp->desktop()->depth() < 24)
|
||||
|
|
|
|||
Loading…
Reference in New Issue