Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
None
-
3
-
b4cf9c2e0 (dev), cfc189bf6 (6.5), 976e0ead4 (6.4)
-
Team A Foundation Sprint 53, Team A Foundation Sprint 54, Team A Foundation Sprint 55, Team A Foundation Sprint 56
Description
In scope of QTBUG-98434 _L1 literal operator for QLatin1String has been added to a new Qt::Literals::StringLiterals inline namespace, to avoid conflicts with UDL operators in the global namespace. But now we have inconsistency: other string literal operators (_qs and qba for QString and QByteArray) are in the inline QtLiterals namespace. To avoid inconsistency, add UDL operators _s and _ba for QString and QByteArray to Qt::Literals::StringLiterals, and deprecate the ones from QtLiterals namespace.
Attachments
Issue Links
- relates to
-
QTBUG-26607 Add C++11 Unicode literal support to QString
- Closed
For Gerrit Dashboard: QTBUG-101408 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
401308,7 | Add literal operators for QString/QByteArray to StringLiterals namespace | dev | qt/qtbase | Status: MERGED | +2 | 0 |
401309,10 | Replace uses of _qs with _s in sources and examples | dev | qt/qtbase | Status: MERGED | +2 | 0 |
401310,8 | Replace uses of _qs with _s in tests | dev | qt/qtbase | Status: MERGED | +2 | 0 |
401311,9 | Replace uses of _qba with _ba | dev | qt/qtbase | Status: MERGED | +2 | 0 |
401587,20 | Replace uses of deprecated _qs with _s/QStringLiteral | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
401588,4 | Replace uses of deprecated _qba with _ba | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
401589,4 | Replace uses of deprecated _qs with _s | dev | qt/qttools | Status: MERGED | +2 | 0 |
401604,6 | Deprecate _qs and _qba literal operators in favor of _s and _ba | dev | qt/qtbase | Status: MERGED | +2 | 0 |
401660,2 | Replace uses of deprecated _qs with _s | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
401661,2 | Replace uses of deprecated _qs with _s | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
401662,2 | Replace uses of deprecated _qs with _s | dev | qt/qtlanguageserver | Status: MERGED | +2 | 0 |
401665,3 | Replace uses of deprecated _qs with _s | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
401666,2 | Replace uses of deprecated _qs with _s | dev | qt/qtserialbus | Status: MERGED | +2 | 0 |
407172,2 | Replace the remaining uses of deprecated _qs with _s | dev | qt/qttools | Status: MERGED | +2 | 0 |
408495,2 | Replace remaining uses of deprecated _qs with _s | dev | qt/qtbase | Status: MERGED | +2 | 0 |
457598,2 | Replace uses of deprecated _qs with _s | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
458053,2 | Replace uses of deprecated _qs with _s | 6.5 | qt/qtwebengine | Status: MERGED | +2 | 0 |
458054,2 | Replace uses of deprecated _qs with _s | 6.4 | qt/qtwebengine | Status: MERGED | +2 | 0 |