I am porting some Qt5 code to Qt6, and one of the functions called is qRegisterMetaTypeStreamOperators.
Compiling this code results in:
'qRegisterMetaTypeStreamOperators' was not declared in this scope
I assumed I just needed to include QMetaType
, but that doesn't work. And I can't find reference to this function on the Qt website.
What am I missing?
You can simply remove it.
Quoting from What's New in QMetaType + QVariant