Skip to main content
Topic: Qml/Qt quick don't work (Read 378 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Qml/Qt quick don't work

If I try to build a very simple qml file:
Code: [Select]
qml6 main2.qml 
Segmentation fault
Code: [Select]
(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.

Code: [Select]
qml6 --version
Segmentation fault
Looks like something is wrong.


Re: Qml/Qt quick don't work

Reply #2
I removed qt6ct  and I can use qml6 (from qt6-declarative):
Code: [Select]
qml6 --version
Qml Runtime 6.5.2

And I can compile main2.qml.

 

Re: Qml/Qt quick don't work

Reply #3
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;
Code: [Select]
qml6 --version
Qml Runtime 6.5.2

artist