Open jetrotal opened 2 years ago
I guess this might have something to do with the emscripten version used? or threading support?
I have to admit this is quite obscur to me and I never really digged much in qt for wasm.
Docker used for building : https://github.com/OlivierLDff/QtWasmCMakeDocker/blob/main/Dockerfile
So you can see I'm using madmanfred/qt-webassembly/qt5.15-em1.39.8
and qmlonline seems to use madmanfred/qt-webassembly:qt5.15-em1.39.10-remoteobjects.
Maybe difference is coming from there.
the Ideal scenario would be to have the syntax
Import "http://fileaddress/filename.qml"
working out of the box with both editors. Since it works on neither
People have been speculating if this is a CORS policy issue, since the Import works with internal libraries, Like Import Qaterial or Import Kirigami
Hi, Is there a good way to import external QML files into Qaterial/QML Online environments? the Import "http://fileaddress/filename.qml" syntax freezes the page.
I wrote those functions that work on QML Online, but not on Qaterial Online:
I call them like this:
It kinda do it's job, but the code is too messy, and i'd have to place the same lines of code on every file that depends on an external QML.
Thanks in advance, BTW you made some amazing fixes on Qaterial Online Issues, would be nice to push them into the Official QML Online Repo, on GitLabs too.