Verified Commit 5aa82e85 authored by Artem Sidyakin's avatar Artem Sidyakin
Browse files

Some more tiny edits

parent d0b0da7f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
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><a href="#tldr">TLDR</a></li>
@@ -50,7 +50,7 @@ Here's how it looks schematically:

Here's also a <a href="https://youtu.be/X1iDlE06xdA">video</a> from KDE Akademy with a more detailed explanation by <a href="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:

<img class="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" />

@@ -77,7 +77,7 @@ You only need to install it:

<img class="aligncenter" src="https://qt-blog-uploads.s3.amazonaws.com/wp-content/uploads/2018/11/qt-installer-webgl.png" title="Qt WebGL, installation" />

...or, if you are not into installers, build Qt from <a href="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 <a href="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 <a href="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 <a href="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:

+0 −1
Original line number Diff line number Diff line
import QtQuick 2.11
import QtQuick.Window 2.11
import QtQuick.Layouts 1.11
import QtQuick.Controls 2.4
import QtMultimedia 5.11
+0 −1
Original line number Diff line number Diff line
import QtQuick 2.11
import QtQuick.Window 2.11
import QtQuick.Layouts 1.11
import QtQuick.Controls 2.4
import Qt.labs.folderlistmodel 2.11