Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.8
-
None
Description
uint64_t and quint64 are different types, which can lead to rather unpleasant surprises, e.g.:
```
void foo(int);
void foo(uint);
void foo(qint64);
void foo(quint64);
void bar()
{ foo(std::uint64_t(0)); // Call to 'foo' is ambiguous }```
it would be great if qt could integrate well with stdint.h / cstdint types. changing qint64 to `int64_t` would be an ABI change, but something to consider for qt-7
Attachments
Issue Links
- relates to
-
QTBUG-129177 QDataStream does not work with std::[u]int64_t
- Closed