Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.9.0
-
-
97f3d41fa (dev), 16870476d (tqtc/lts-6.8), f5faba54d (6.9)
Description
QTypeInfo contains an enum isComplex (in qtypeinfo.h line 56) which uses std::is_trivial_v which will be deprecated in C++26. The fix is not obvious, depending on your willingness to change the behavior of isComplex.
Further reading:
https://en.cppreference.com/w/cpp/types/is_trivial
Clang 20 warns about this in C+26 mode. It is advised to use C+26 mode, see for example https://www.sandordargo.com/blog/2025/02/05/cpp26-erroneous-behaviour
Attachments
For Gerrit Dashboard: QTBUG-136083 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
646269,3 | Replace uses of std::is_trivial with its underlying definitions | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | +2 | 0 |