2 min read

Two days ago, the Qt team released the technical preview of an open source QML design viewer based on the Qt for WebAssembly. This design viewer will enable the QML application to be run on web browsers like Chrome, Safari, FireFox and Edge. The Qt for WebAssembly is a platform plugin which allows the user to build Qt applications with web page integrations.

For running a custom QML application, a user will have to define the main QML file and the import paths with a .qmlproject file. The project folder then has to be compressed as a ZIP file and uploaded to the design viewer. Users can also generate a resource file out of their project and upload the package.

Image source: Qt blog

Read More: Qt introduces Qt for MCUs, a graphics toolkit for creating a fluid user interface on microcontrollers

The Qt team has tested the design viewer with the latest versions of Chrome, Safari, FireFox and Edge and has found that the QML application runs well on all the web browsers. “The startup and compilation time depends on your browser and configuration, but the actual performance of the application, once it is started, is indistinguishable from the same application running on the desktop,” states the official blog.

This design viewer also runs on Android and iOS and is shipped with most QML modules and is based on a snapshot of Qt 5.14.

Many users have liked the web based design viewer

A user on Hacker News comments, “One of the most beautiful things I have seen in 2019. Brilliant!”

Another comment read, “This looks pretty cool! I am actually shopping for a GUI framework for a new project and WebAssembly support is a potential critical feature.”

Read Next

Qt and LG Electronics partner to make webOS as the platform of choice for embedded smart devices

GitLab retracts its privacy invasion policy after backlash from community

Are we entering the quantum computing era? Google’s Sycamore achieves ‘quantum supremacy’ while IBM refutes the claim