Hello world program already fails when using an anchor
Unsolved
Qt for WebAssembly
-
Hello guys,
I wanted to try out webassembly, so after installation I simply made a hello world-app.
import QtQuick import QtQuick.Window Window { id: window visible: true width: 640 height: 480 visibility: Window.FullScreen title: qsTr("Hello WebAssembly") Text { y: 56 text: qsTr("Hello WebAssembly") } }
This code actually works, but as soon as I simply add this to my Text component, it fails.
anchors.horizontalCenter: parent.horizontalCenter
Application exit (RuntimeError: index out of bounds)
Some infos about my versions:
- QT: 6.5
- emsdk: 3.1.39
I think there must be something very basic not ok...