One of the Qt 5.12 new features is <b>Qt Quick WebGL</b> platform plugin. It was actually available as a technology preview from Qt 5.10 already, but starting with Qt 5.12 it is a released feature.
One of the Qt 5.12 new features is <b>Qt Quick WebGL</b> platform plugin (<i>also known as <b>WebGL streaming</b></i>). It was actually available as a technology preview from Qt 5.10 already, but starting with Qt 5.12 it is a released feature.
<ul>
<li><ahref="#tldr">TLDR</a></li>
...
...
@@ -50,7 +50,7 @@ Here's how it looks schematically:
Here's also a <ahref="https://youtu.be/X1iDlE06xdA">video</a> from KDE Akademy with a more detailed explanation by <ahref="http://blog.qt.io/blog/author/jesusfernandez/">Jesus Fernandez</a>.
But since I'm a simple Qt "user", I don't really care about any of that (<i>and it's all hidden from me anyway</i>), so to me everything looks like this:
But since I'm a simple Qt "user", I don't really care about any of that (<i>it's all hidden from me anyway</i>), and to me everything looks like this:
<imgclass="aligncenter"src="https://qt-blog-uploads.s3.amazonaws.com/wp-content/uploads/2018/11/how-it-works-simplified.png"title="Qt WebGL, how it works, simplified"/>
...or, if you are not into installers, build Qt from <ahref="http://code.qt.io/cgit/qt/qt5.git/">sources</a> as usual - no special configuration options needed. Actually, with earlier versions <code>-opengl es2</code> option was required, but there is no need in that as <ahref="http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html">Qt Quick Scene Graph</a> uses ES subset even if there is a later version of OpenGL available.
...or, if you are not into installers, build Qt from <ahref="http://code.qt.io/cgit/qt/qt5.git/">sources</a> as usual - no special configuration options needed. Actually, with earlier versions <code>-opengl es2</code> option was required, but there is no need in that as <ahref="http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html">Qt Quick Scene Graph</a>can use ES subset even if there is a later version of OpenGL available.
Having installed Qt itself, build any Qt Quick application of yours and launch it with the following command line arguments: