summaryrefslogtreecommitdiff
path: root/dist/changes-5.4.1
blob: f7bf85df917ac4fccde45befb767bcce03094d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Qt 5.4.1 is a bug-fix release. It maintains both forward and backward
compatibility (source and binary) with Qt 5.4.0.

For more details, refer to the online documentation included in this
distribution. The documentation is also available online:

  http://qt-project.org/doc/

The Qt version 5.4 series is binary compatible with the 5.3.x series.
Applications compiled for 5.3 will continue to run with 5.4.

Some of the changes listed in this file include issue tracking numbers
corresponding to tasks in the Qt Bug Tracker:

  http://bugreports.qt.io

Each of these identifiers can be entered in the bug tracker to obtain more
information about a particular change.

****************************************************************************
*                          Library                                         *
****************************************************************************

 - Improved the Terminal and Enumerator examples:
   * In the Terminal example, users can now specify a custom serial port name.
   * The Terminal example no longer attempts to close a serial port that is
     already closed. It allows to suppress an additional message box with the
     NotOpenError error.
   * Added a scroll area to the Enumerator example.
   * Q_NULLPTR is now used where it is possible.

 - QSerialPortInfo:
   * [QTBUG-41262] Now the QSerialPortInfo::isNull() returns true when it
     is empty.
   * Improved the algorithm of serial ports enumeration for Unix-like systems.
     Devices are no longer looked for in /dev/ if udev or sysfs return nothing.
   * Improved the sysfs backend's algorithm for enumeration of serial ports
     on Linux.
   * [QTBUG-32024] Fixed detection of valid serial8250 serial ports on Linux.
   * Added detection of Bluetooth SPP (rfcomm) serial port with SysFs backend.

 - QSerialPort:
   * [QTBUG-38639] Allowed using custom (non standard) serial ports paths
     that can be used as symlinks or do not start with '/dev', and so on.
   * Fixed leak of event handles on Windows.
   * Added handling for EINVAL, ENOIOCTLCMD, ENOTTY and EPERM errors on
     Unix-like systems.
   * The serial port is now marked as opened only if all settings were applied
     internally. This enables suppressing the NotOpenError when the close()
     method is called from a slot that is connected to the SerialPortError
     signal.
   * Fixed setting up an error on Unix-like systems, when the setBaudRate()
     method fails.
   * The serial port no longer queries the state of RTS and DTR lines when
     opening. This enables suppressing the UnsupportedOperationError error when
     a serial port does not support this feature (for example, when using
     socat).
   * [QTBUG-43484] Fixed stalling of reading when multiple open and
     close calls are used in a row.
   * Fixed stalling of reading on Windows when the clear() method is used.
   * Fixed stalling of reading on Windows when the buffer size is limited.