Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P3: Somewhat important
-
Resolution: Unresolved
-
Affects Version/s: 6.3.0 Feature Freeze
-
Fix Version/s: None
-
Component/s: Core: QString and Unicode
-
Labels: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.