Re: [Interest] QML: support both Qt5 and Qt6

2021-09-09 Thread Alexander Dyagilev
hawn Rutledge ; Qt Interest Subject: Re: [Interest] QML: support both Qt5 and Qt6 Just try instead of arguing with me :) https://doc.qt.io/qt-5.12/qml-qtquick-dialogs-messagedialog.html Import Statement: import QtQuick.Dialogs 1.3 On 9/9/2021 12:53 PM, Mitch Curtis wrote: MessageDialog was added in

Re: [Interest] QML: support both Qt5 and Qt6

2021-09-09 Thread Mitch Curtis
Interest > Subject: Re: [Interest] QML: support both Qt5 and Qt6 > > Just try instead of arguing with me :) > > https://doc.qt.io/qt-5.12/qml-qtquick-dialogs-messagedialog.html > > Import Statement: import QtQuick.Dialogs 1.3 > > > On 9/9/2021 12:53 PM, Mit

Re: [Interest] QML: support both Qt5 and Qt6

2021-09-09 Thread Alexander Dyagilev
-messagedialog.html, so it should work. -Original Message- From: Alexander Dyagilev Sent: Thursday, 9 September 2021 10:59 AM To: Mitch Curtis ; Shawn Rutledge ; Qt Interest Subject: Re: [Interest] QML: support both Qt5 and Qt6 Hello, 5.12.11 :) On 9/9/2021 10:18 AM, Mitch Curtis wrote: Which Qt

Re: [Interest] QML: support both Qt5 and Qt6

2021-09-09 Thread Mitch Curtis
> Subject: Re: [Interest] QML: support both Qt5 and Qt6 > > Hello, > > 5.12.11 :) > > On 9/9/2021 10:18 AM, Mitch Curtis wrote: > > Which Qt 5 version are you using? > > ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] QML: support both Qt5 and Qt6

2021-09-09 Thread Alexander Dyagilev
Hello, 5.12.11 :) On 9/9/2021 10:18 AM, Mitch Curtis wrote: Which Qt 5 version are you using? ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] QML: support both Qt5 and Qt6

2021-09-09 Thread Mitch Curtis
Which Qt 5 version are you using? > -Original Message- > From: Interest On Behalf Of Alexander > Dyagilev > Sent: Tuesday, 7 September 2021 11:15 PM > To: Shawn Rutledge ; Qt Interest project.org> > Subject: Re: [Interest] QML: support both Qt5 and Qt6 > &

Re: [Interest] QML: support both Qt5 and Qt6

2021-09-08 Thread Alexander Dyagilev
OK, I did so: /qml_ui/qt5compat/MessageDialog.qml: import QtQuick 2.0 import "./qt5" import "./qt6" MessageDialog { } /qml_ui/qt5compat/qt5/MessageDialog.qml : import QtQuick 2.0 import QtQuick.Dialogs 1.3 MessageDialog {     readonly property int buttonOk: StandardButton.Ok     readonly pr

Re: [Interest] QML: support both Qt5 and Qt6

2021-09-07 Thread Alexander Dyagilev
On 9/7/2021 11:31 PM, Shawn Rutledge wrote: On 2021 Sep 7, at 22:13, Alexander Dyagilev 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'

Re: [Interest] QML: support both Qt5 and Qt6

2021-09-07 Thread Shawn Rutledge
> On 2021 Sep 7, at 22:13, Alexander Dyagilev 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. > Is it possible to import different modules depe

[Interest] QML: support both Qt5 and Qt6

2021-09-07 Thread Alexander Dyagilev
Hello, We would like to migrate to Qt6. However, we still need to be able to build our project with Qt5 to continue supporting Windows 7 OS (15% of our users are still using it). For now, I've managed to make C++ part support both Qt6 and Qt5. However, it seems that QML part is not so easy.