[Interest] QML: support both Qt5 and Qt6
alervdvcw at gmail.com
Tue Sep 7 23:15:10 CEST 2021
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.
More information about the Interest