If I try to build a very simple qml file:
qml6 main2.qml
Segmentation fault
(gdb) run main.qml
Starting program: /usr/bin/qml6 main.qml
[...]
Thread 1 "qml6" received signal SIGSEGV, Segmentation fault.
0x00007ffff69b210a in QGuiApplicationPrivate::setPalette(QPalette const&) () from /usr/lib/qt6/bin/../../libQt6Gui.so.6
When I try this other very simple app https://www.qt.io/product/qt6/qml-book/ch02-start-hello-world on qt creator it crashes.
qml6 --version
Segmentation fault
Looks like something is wrong.
The actual problem seems to be qt6ct. IMO it should not be packaged and shipped in any distro without testing Qt Quick.
https://github.com/trialuser02/qt6ct/issues/32
I removed qt6ct and I can use qml6 (from qt6-declarative):
qml6 --version
Qml Runtime 6.5.2
And I can compile main2.qml.
We created a patch from the commit that was added today.
The updated qt6ct-0.8-6.2 package now seems to work as normal;
qml6 --version
Qml Runtime 6.5.2
artist