Which Qt 5 version are you using?
> -----Original Message----- > From: Interest <interest-boun...@qt-project.org> On Behalf Of Alexander > Dyagilev > Sent: Tuesday, 7 September 2021 11:15 PM > To: Shawn Rutledge <shawn.rutle...@qt.io>; Qt Interest <interest@qt- > project.org> > Subject: Re: [Interest] QML: support both Qt5 and Qt6 > > > On 9/7/2021 11:31 PM, Shawn Rutledge wrote: > >> On 2021 Sep 7, at 22:13, Alexander Dyagilev <alervd...@gmail.com> > wrote: > >> > >> For example, we do use MessageDialog component. In Qt5, it requires > import QtQuick.Dialogs 1.3, and in Qt6 - import Qt.labs.platform 1.1. > > You can use Qt.labs.platform in both versions. > > No, I can't. Qt5 requires QtQuick.Dialogs 1.3. I've just tried to use > Qt.labs.platform instead and it fails to load component. > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest