Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView)
-
Hi,
Is there a way to continue to use TreeView from QtQuick v1.4 that was available for Qt v5.15?
My app is using it for a view, cf my Library.qml
I'm getting this error with Qt v6.1.2:QQmlApplicationEngine failed to load component qrc:/main.qml:125:9: Type MainApp unavailable qrc:/MainApp.qml:823:9: Type Library unavailable qrc:/Library.qml:22:1: module "QtQuick.Controls" version 1.4 is not installed 04:36:54: /Users/mb/Desktop/github/ClementineRemote/build-ClementineRemote-Qt_6_1_2_for_macOS-Debug/ClemRemote.app/Contents/MacOS/ClemRemote exited with code 255
I'm only building with Qt6 on macOS in order to publish the app in the Apple Store. For Android and Desktop versions I'll stick with Qt5.15.
It would be quite boring to have a new version of my
Library.qml
only when Qt6 is used... and is there a way to test the Qt version directly in QML? -
@mbruel said in Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView):
QtQuick v1.4
Does this help?;
-
@mbruel said in Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView):
QtQuick v1.4
Does this help?;
@Markkyboy said in Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView):
Does this help?;
not really. QtQuick.Controls v1 was deprecated on Qt5 so I supposed it was removed from Qt6. would it be a way to still make it work on Qt6?
-
@Markkyboy said in Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView):
Does this help?;
not really. QtQuick.Controls v1 was deprecated on Qt5 so I supposed it was removed from Qt6. would it be a way to still make it work on Qt6?
@mbruel
Nope, not as far as I know,You're now required to
buyrent the treeview module in the marketplace or publish your app via GPLalternatively you create your own treeview or use some of the repos linked in the related bug report thread
-
@mbruel
Nope, not as far as I know,You're now required to
buyrent the treeview module in the marketplace or publish your app via GPLalternatively you create your own treeview or use some of the repos linked in the related bug report thread
@J-Hilk said in Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView):
You're now required to buy rent the treeview module in the marketplace or publish your app via GPL
sounds like there is no more a GPL version is it? I've read a guy developing a GPL app bought the licence for a year, found a bug but wouldn't have any support as he didn't have Qt commercial licence...
I participated on the forums to complain about that Qt policy to remove Treeview from the original package. what a shame!
Personally I'll boycott Qt6 and stick with Qt5 for as long a I can. I thought I'd have to switch to Qt6 for working with iOS v14 and XCode 12 but it seems it is supported by Qt5 even if not indicated in the doc...alternatively you create your own treeview or use some of the repos linked in the related bug report thread
is there any nice (L)GPL Trreview available (outside from Qt)? isn't it possible to use the Treeview code from QtQuick.Controls v1 in order to get inspired and recreate our own Treeview?
Well I guess we will need a topic on its own for TreeView on this forum ;)
-
@J-Hilk said in Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView):
You're now required to buy rent the treeview module in the marketplace or publish your app via GPL
sounds like there is no more a GPL version is it? I've read a guy developing a GPL app bought the licence for a year, found a bug but wouldn't have any support as he didn't have Qt commercial licence...
I participated on the forums to complain about that Qt policy to remove Treeview from the original package. what a shame!
Personally I'll boycott Qt6 and stick with Qt5 for as long a I can. I thought I'd have to switch to Qt6 for working with iOS v14 and XCode 12 but it seems it is supported by Qt5 even if not indicated in the doc...alternatively you create your own treeview or use some of the repos linked in the related bug report thread
is there any nice (L)GPL Trreview available (outside from Qt)? isn't it possible to use the Treeview code from QtQuick.Controls v1 in order to get inspired and recreate our own Treeview?
Well I guess we will need a topic on its own for TreeView on this forum ;)
@mbruel said in Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView):
sounds like there is no more a GPL version is it? I've read a guy developing a GPL app bought the licence for a year, found a bug but wouldn't have any support as he didn't have Qt commercial licence...
well it clearly states:
also available GPLv3 but I couldn't find a link or repository. I assume contacting the sales department/customersupport has to help here
Found it, a little bit hidden, but there:
Also No Qt6 support yet, which is hilarious.
Personally I'll boycott Qt6 and stick with Qt5 for as long a I can.
We can't upgrade to Qt6 with all the modules that we need, and that currently aren't even all available yet, it would be much more expensive than the Qt5 version currently
So I'm with Qt5 until LTS support is gone, and we'll have to reevaluate what we do than 🤷♂️
-
@mbruel said in Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView):
sounds like there is no more a GPL version is it? I've read a guy developing a GPL app bought the licence for a year, found a bug but wouldn't have any support as he didn't have Qt commercial licence...
well it clearly states:
also available GPLv3 but I couldn't find a link or repository. I assume contacting the sales department/customersupport has to help here
Found it, a little bit hidden, but there:
Also No Qt6 support yet, which is hilarious.
Personally I'll boycott Qt6 and stick with Qt5 for as long a I can.
We can't upgrade to Qt6 with all the modules that we need, and that currently aren't even all available yet, it would be much more expensive than the Qt5 version currently
So I'm with Qt5 until LTS support is gone, and we'll have to reevaluate what we do than 🤷♂️
@J-Hilk said in Qt6 : how to use QtQuick.Control v1.4? (for the old TreeView):
We can't upgrade to Qt6 with all the modules that we need, and that currently aren't even all available yet
Qt 6.2 comes end of the month and then catches up with the modules compared to Qt 5