|
| 1 | +Qt 5.15.1 is a bug-fix release. It maintains both forward and backward |
| 2 | +compatibility (source and binary) with Qt 5.15.0. |
| 3 | + |
| 4 | +For more details, refer to the online documentation included in this |
| 5 | +distribution. The documentation is also available online: |
| 6 | + |
| 7 | +https://doc.qt.io/qt-5/index.html |
| 8 | + |
| 9 | +The Qt version 5.15 series is binary compatible with the 5.14.x series. |
| 10 | +Applications compiled for 5.14 will continue to run with 5.15. |
| 11 | + |
| 12 | +Some of the changes listed in this file include issue tracking numbers |
| 13 | +corresponding to tasks in the Qt Bug Tracker: |
| 14 | + |
| 15 | +https://bugreports.qt.io/ |
| 16 | + |
| 17 | +Each of these identifiers can be entered in the bug tracker to obtain more |
| 18 | +information about a particular change. |
| 19 | + |
| 20 | +**************************************************************************** |
| 21 | +* Important Behavior Changes * |
| 22 | +**************************************************************************** |
| 23 | + |
| 24 | + - QSharedPointer objects will now call custom deleters even when the |
| 25 | + pointer being tracked was null. This behavior is the same as |
| 26 | + std::shared_ptr. |
| 27 | + - Restored pre-5.15.0 behavior when converting from QVariant* to QJson* |
| 28 | + types. Unforeseen consequences of changes in 5.15.0 caused QByteArray |
| 29 | + data to be base64url-encoded; the handling of QRegularExpression was |
| 30 | + also unintentionally changed. These conversions are now reverted to the |
| 31 | + prior behavior. Additionally fixed QJsonValue::fromVariant conversions |
| 32 | + for NaN and infinities: they should always convert to QJsonValue::Null. |
| 33 | + |
| 34 | +**************************************************************************** |
| 35 | +* QtCore * |
| 36 | +**************************************************************************** |
| 37 | + |
| 38 | + - JSON |
| 39 | + * Fixed a regression from 5.14 that caused values of default-constructed |
| 40 | + QVariants in QVariantLists, QVariantMaps and QVariantHashes to |
| 41 | + disappear when converting to JSON via fromVariant{,List,Map,Hash}. |
| 42 | + |
| 43 | + - QCborMap |
| 44 | + * Fixed a bug that could cause the iterator returned from a failing key |
| 45 | + search with find() not to match end(). Now, every call to find() will |
| 46 | + detach in shared QCborMaps; to avoid this, use constFind() and |
| 47 | + constEnd(). |
| 48 | + |
| 49 | + - QFile: |
| 50 | + * moveToTrash now creates the trash folder on Linux as |
| 51 | + $XDG_DATA_HOME/Trash, as required by the freedesktop.org spec. |
| 52 | + * moveToTrash supports relative file paths on Windows. |
| 53 | + |
| 54 | + - QImage: |
| 55 | + * Fixed buffer overflow in XBM parser. |
| 56 | + * [oss-fuzz-23988] Fixed buffer overflow in XPM parser. |
| 57 | + |
| 58 | + - QJsonDocument: |
| 59 | + * Fixed a bug that caused QJsonDocument's equality operator to crash if |
| 60 | + one of the operands was default-constructed and the other wasn't. |
| 61 | + |
| 62 | + - QString: |
| 63 | + * Fixed quadratic worst-case complexity of remove(QString). The function |
| 64 | + now has linear complexity in all cases. |
| 65 | + |
| 66 | + - QTimeLine: |
| 67 | + * Deprecated QTimeLine's curveShape property in favor of the easingCurve |
| 68 | + property. |
| 69 | + |
| 70 | + - QXmlStreamReader: |
| 71 | + * [oss-fuzz-24347] Reduced memory consumption when handling huge input data. |
| 72 | + |
| 73 | + - mkspecs: |
| 74 | + * Explicitly enable float-divide-by-zero when configuring Qt with |
| 75 | + "-sanitize undefined". Before clang 9, it was implicitly enabled when |
| 76 | + -fsanitize=undefined was set. |
| 77 | + |
| 78 | +**************************************************************************** |
| 79 | +* QtGui * |
| 80 | +**************************************************************************** |
| 81 | + |
| 82 | + - QIcon: |
| 83 | + * [QTBUG-74252] If you call QIcon::setFallbackThemeName(), you should |
| 84 | + do it before the creation of the QGuiApplication; this now avoids |
| 85 | + a bug that resulted in the first loaded icons being empty. |
| 86 | + |
| 87 | + - HTML: |
| 88 | + * QTextDocument::toHtml() now exports letter and word spacing from the |
| 89 | + default format, if set, into the body tag. Such formatting can also |
| 90 | + be read back in. |
| 91 | + * [QTBUG-84981] Vertical alignment of images is now more compliant with |
| 92 | + the HTML standard: AlignBottom is the bottom of the line; AlignMiddle |
| 93 | + is between AlignTop and AlignBottom |
| 94 | + |
| 95 | + - Markdown: |
| 96 | + * [QTBUG-81306] QTextMarkdownImporter now correctly reads nested span |
| 97 | + formatting such as *italic ~~strikeout **bold `code` end**~~* |
| 98 | + including in link text and image alt text. The effects are mostly |
| 99 | + cumulative; however `code` blocks still completely override formatting. |
| 100 | + * [QTBUG-80603] QMarkdownWriter no longer tries to word-wrap code blocks; |
| 101 | + and code blocks nested in list items are formatted correctly. |
| 102 | + |
| 103 | + - Text: |
| 104 | + * Fixed a bug where glyphs would be clipped at very large sizes. |
| 105 | + |
| 106 | +**************************************************************************** |
| 107 | +* QtTestLib * |
| 108 | +**************************************************************************** |
| 109 | + |
| 110 | + - QCOMPARE: |
| 111 | + * QCOMPARE() now treats its values as equal when qFuzzyIsNull() is true |
| 112 | + for both of them. |
| 113 | + |
| 114 | +**************************************************************************** |
| 115 | +* QtWidgets * |
| 116 | +**************************************************************************** |
| 117 | + |
| 118 | + - QApplication: |
| 119 | + * Wheel events from a device that creates an event stream are correctly |
| 120 | + delivered to the widget that accepts the first wheel event in the |
| 121 | + stream. |
| 122 | + |
| 123 | + - QListView: |
| 124 | + * Moving selected items within a list view by drag'n'drop will maintain |
| 125 | + the selection of those items. |
| 126 | + |
| 127 | + - QMenu: |
| 128 | + * [QTBUG-84926] Fixed a regression that prevented pressing the mouse |
| 129 | + to open a menu, dragging over a menu item, and releasing to select it. |
| 130 | + * [QTBUG-76162] A submenu is always shown on its parent menu's screen. |
| 131 | + A text control's context menu is now always shown on the same screen. |
| 132 | + A menu on a QMenuBar can only be shown on the screen(s) where the |
| 133 | + menubar is visible. |
| 134 | + |
| 135 | + - QWidget: |
| 136 | + * setFocusProxy no longer moves focus away from a previously set focus |
| 137 | + proxy, restoring pre-Qt 5.13.1 behavior. |
| 138 | + |
| 139 | +**************************************************************************** |
| 140 | +* Platform-specific changes * |
| 141 | +**************************************************************************** |
| 142 | + |
| 143 | + - Android |
| 144 | + * [QTBUG-83089] Support setting mimetypes and and namefilters for Android |
| 145 | + native file dialog. |
| 146 | + |
| 147 | + - iOS |
| 148 | + * [QTBUG-83811] When text is selected using handles in a read-only |
| 149 | + control, it's now possible for the edit menu popover to be configured |
| 150 | + to have a Copy action instead of Paste. So far this is used in QtPDF. |
| 151 | + |
| 152 | + - Linux |
| 153 | + * QFileDialog will open directories through the portal if required |
| 154 | + version of xdg-desktop-portal is running on the system. |
| 155 | + |
| 156 | + - X11 |
| 157 | + * [QTBUG-83446] Fixed a drag-and-drop crash due to an invalid reply in |
| 158 | + QXcbDrag. |
| 159 | + * [QTBUG-56218] When keyboard modifiers change during drag-and-drop, |
| 160 | + a QDragMoveEvent is sent even if the mouse doesn't actually move, to |
| 161 | + allow updating the drop action and cursor. |
| 162 | + * [QTBUG-85275] Window geometry coordinates are now allowed to be up to |
| 163 | + 32767. |
| 164 | + * [QTBUG-25351] The new QT_QPA_SYSTEM_ICON_THEME variable can override |
| 165 | + the icon theme name. |
| 166 | + |
| 167 | +**************************************************************************** |
| 168 | +* Third-Party Code * |
| 169 | +**************************************************************************** |
| 170 | + |
| 171 | + - sqlite: |
| 172 | + * Upgraded to v3.32.1 |
| 173 | + * Upgraded to v3.32.3 |
| 174 | + - PCRE2 was updated to version 10.35. |
| 175 | + - libjpeg-turbo was updated to version 2.0.5 |
| 176 | + - Documented the use of Khronos headers under MIT license in Qt GUI |
| 177 | + (ANGLE). |
0 commit comments