Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
6.9
-
None
-
3
-
014007faf (dev)
-
Foundation Sprint 115
Description
As discussed on QtCS, the users should not need to include additional headers to enable std::format support for a certain Qt type.
The conclusion is that we add all the relevant code directly in the class header, but guard it with an opt-out define, which allows to disable std::format support for those who are not interested in it.
Note that it should be a #define, not a QT_FEATURE, because the user's configuration might be different from what was used to build Qt itself.
Attachments
For Gerrit Dashboard: QTBUG-128779 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
589599,2 | Add QT_NO_STD_FORMAT_SUPPORT definition to disable std::format support | dev | qt/qtbase | Status: MERGED | +2 | 0 |