If you want to use Qt, you have to embrace quint8, quint16 and so forth.
If you want to use GLib, you have to welcome
For the older libraries, this is needed because the header in question (stdint.h) didn't exist.
There's still, however, a problem around: those types (uint64_t and others) are an optional feature in the standard. So a complying implementation might not ship with them -- and thus force libraries to still include them nowadays.