Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.3.0 Feature Freeze
-
None
Description
As the subject says: there's first-class support for QString/QByteArray, but not for the respective view classes.
QStringView view; QVariant v = view; // error QVariant v2 = QVariant::fromValue(view); // error constexpr auto id = qMetaTypeId<QStringView>(); // error
The above works with QString/QByteArray.
Also, did something change in Qt 6 wrt queued connections? I would've said that without QMetaType support, a connection forced queued would have failed to compile, but apparently instead works fine.