Details
-
User Story
-
Resolution: Done
-
P2: Important
-
None
-
None
-
3
-
Foundation Sprint 63, Foundation Sprint 64, Foundation Sprint 65
-
812a0d3125 (qt/qtbase/dev) 812a0d3125 (qt/tqtc-qtbase/dev)
Description
As an example, this works:
void fun(const QString &);
QDBusReply<QString> r = ~~~;
fun(r);
while this doesn't:
void fun(QAnyStringView); QDBusReply<QString> r = ~~~; fun(r); // ERROR: no conversion from QDBusReply<QString> to QAnyStringView fun(r.value()); // OK
Same for other such types, e.g. QProperty<QString>.
Expected behaviour: fun(QAnyStringView) accepts everything that fun(QString) (and fun(QByteArray) would.