QuickQanava icon indicating copy to clipboard operation
QuickQanava copied to clipboard

Building QuickQanava for WebAssembly target platform

Open cneben opened this issue 7 years ago • 3 comments

Em++ 1.38.20 can build QuickQanava with Qt 5.12 beta 4 for WebAssembly.

Unfortunately, 'QtQuick.Shapes' module still could not be loaded successfully.

Follow the instructions: http://blog.qt.io/blog/2018/11/19/getting-started-qt-webassembly/ Follow: https://bugreports.qt.io/browse/QTBUG-63917

cneben avatar Nov 28 '18 17:11 cneben

I was able to build QuickQanava samples with QT 5.14.1, Emscripten 1.38.43, without thread support and ‘js’ trap mode. It works well in all browsers.

mkielak avatar Mar 25 '20 10:03 mkielak

Extremely interesting, thank you very much I didn't had enough time to finish testing that pipeline.

I would be really interested to see it live, or at least having a quick recap of your build procedure. Do you think building and generating theses assets is possible with TravisCI ?

cneben avatar Mar 25 '20 11:03 cneben

I build it using docker after few days of testing proper QT/Emscripten version. I used Dockerfile from this repo: https://github.com/mauricek/qtwasm_builder , just changed QT and Emscripten version. There were some warnings during build but finally everything works. In some configuration of Qt/Emscripten there was a problem that I saw graph view but couldn't click/move anything. Zrzut ekranu z 2020-03-24 15-54-26_2

mkielak avatar Mar 25 '20 11:03 mkielak