[Interest] QML: support both Qt5 and Qt6

Mitch Curtis mitch.curtis at qt.io
Thu Sep 9 09:18:43 CEST 2021


Which Qt 5 version are you using?

> -----Original Message-----
> From: Interest <interest-bounces at qt-project.org> On Behalf Of Alexander
> Dyagilev
> Sent: Tuesday, 7 September 2021 11:15 PM
> To: Shawn Rutledge <Shawn.Rutledge at qt.io>; Qt Interest <interest at 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 <alervdvcw at 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 at qt-project.org
> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list