On Wed, 13 May 2020 at 12:46, Marc Mutz via Development <development@qt-project.org> wrote: > In the not so hypothetical case that Qt is used to visualize results of > some business calculations, chances are that thrid-party libraries will > use std::string or std::u16string, and not QString, requiring the use of > QString::fromStdString() to pass these to a QString API. Had the API > taken QStringView, no extra code would have been necessary.
Wait, what? How can QStringView view a std::string? _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development