1Qt 5.4.2 is a bug-fix release. It maintains both forward and backward
2compatibility (source and binary) with Qt 5.4.1. Compatibility with Qt
35.4.0 is also retained, except on Windows when using MSVC 2012 or MSVC
42013. See note below.
5
6For more details, refer to the online documentation included in this
7distribution. The documentation is also available online:
8
9  http://doc.qt.io/qt-5.4/
10
11The Qt version 5.4 series is binary compatible with the 5.3.x series.
12Applications compiled for 5.3 will continue to run with 5.4 with the
13exception of on Windows when using MSVC 2012 or MSVC 2013. See note
14below.
15
16Some of the changes listed in this file include issue tracking numbers
17corresponding to tasks in the Qt Bug Tracker:
18
19  http://bugreports.qt.io/
20
21Each of these identifiers can be entered in the bug tracker to obtain more
22information about a particular change.
23
24****************************************************************************
25*                        Important Behavior Changes                        *
26****************************************************************************
27- Restored binary compatibility with Qt 5.3.2 on Windows when using MSVC
28  2012 or MSVC 2013. This means that Qt 5.4.1 and 5.4.2 are no longer
29  binary compatible with Qt 5.4.0 when using either of those compilers.
30- [QTBUG-42594] OS X binary package: fixed incorrect linking to libraries in
31  /opt/local/lib
32- EXIF orientation is no longer applied to JPEG images on read. EXIF
33  orientation on JPEG was introduced in 5.4.0, but due to a bug the most
34  common EXIF-format (big-endian) was not working until 5.4.1. 5.4.2 restores the
35  behavior of 5.4.0 and earlier for most EXIF-tagged JPEGs.
36  EXIF orientation will be an opt-in starting with Qt 5.5.
37- On x86 and x86-64 systems with ELF binaries (especially Linux), due to
38  a new optimization in GCC 5.x in combination with a recent version of
39  GNU binutils, compiling Qt applications with -fPIE is no longer
40  enough with GCC 5.x. Applications now need to be compiled with
41  the -fPIC option if Qt's option "reduce relocations" is active. For
42  backward compatibility only, Qt accepts the use of -fPIE for GCC 4.x
43  versions.
44  Note that Clang is known to generate incompatible code even with -fPIC if
45  the -flto option is active.
46  Applications using qmake or cmake >= 2.8.12 as their build system will
47  adapt automatically. Applications using an older release of cmake in
48  combination with GCC 5.x need to change their CMakeLists.txt to add
49  Qt5Core_EXECUTABLE_COMPILE_FLAGS to CMAKE_CXX_FLAGS. In particular,
50  applications using cmake >= 2.8.9 and < 2.8.11 will continue to build
51  with the -fPIE option and invoke the special compatibility mode if using
52  GCC 4.x.
53
54
55****************************************************************************
56*                               Library                                    *
57****************************************************************************
58
59QtCore
60------
61 - [QTBUG-43893] Fixed memory leak in qSetMessagePattern
62 - [QTBUG-43513] QXmlStreamReader: Correctly parse XML containing NUL bytes
63   in the input stream
64 - [QTBUG-43352] QTemporaryDirectory: Properly clean up in case of a failure
65 - [QTBUG-43827] Fixed regression in QSortFilterProxyModel which crashed when
66   sorting a tree model
67
68QtGui
69-----
70 - [QTBUG-44273] Fixed misplacement of outlined text with native text rendering
71 - [QTBUG-44147] Fixed VNC not working on some VNC servers
72 - [QTBUG-43850] Fixed crash with multi-threaded font usage
73 - [QTBUG-43850] Made the old harfbuzz fallback available at runtime
74 - Improvements to the experimental high-dpi support
75 - [QTBUG-43318] Better resolution of GLES 3 functions to avoid issues when
76   deploying on systems with GLES 2.0 only
77
78QtWidgets
79---------
80 - [QTBUG-43830] Fixed crash in stylesheets when styling QProgressBar
81 - [QTBUG-43663] QColorDialog: Don't lose focus while color picking
82
83QtNetwork
84---------
85 - [QTBUG-43793] Fixed disconnects of QSSLSocket after starting encryption
86
87QtPrintSupport
88--------------
89 - [QTBUG-43124] Fixed QPrinter::{width,height} return values
90
91****************************************************************************
92*                      Platform Specific Changes                           *
93****************************************************************************
94
95Android
96-------
97
98 - [QTBUG-44648] Fixed rendering Chinese text on Android 5
99
100Linux/XCB
101---------
102
103 - [QTBUG-45071] Don't crash when resizing windows to bigger than 3840x2160
104
105****************************************************************************
106*                                Tools                                     *
107****************************************************************************
108
109configure & build system
110------------------------
111
112 - CMake-based projects using Qt will now always be built with -fPIE,
113   which fixes function pointer based QObject::connect() on ARM. This
114   is consistent with qmake
115 - [Android] Fixed compilation on armv5 with 4.9 toolchain
116
117qmake
118-----
119
120 - [VS] Fixed handling of files that are excluded from build
121 - [QTBUG-44413][VS] Fixed vcxproj generation for CONFIG-=flat, again
122 - [QTBUG-44595] Restored Qt 4 behavior of qtLibraryTarget()
123 - [QTBUG-45118][Windows] Fixed parallel build when using TYPELIBS
124 - [OS X/iOS] Fixed QMAKE_INFO_PLIST path resolution for shadow builds
125