diff --git a/webgl-release-blog/webgl-release-blog.md b/webgl-release-blog/webgl-release-blog.md index 8888331a92abe7649992b975ae29291038944f1d..ba706ff374a56bb99e9a6a6c7b61fcdcd45286f7 100644 --- a/webgl-release-blog/webgl-release-blog.md +++ b/webgl-release-blog/webgl-release-blog.md @@ -1,4 +1,4 @@ -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: diff --git a/webgl-release-demo/TabCamera.qml b/webgl-release-demo/TabCamera.qml index 26aa49d020cda46c344db6ab7ce3cb27f7b47409..c52c4abbe3e92cc0b61ded1b1cb7d85a6794e9e7 100644 --- a/webgl-release-demo/TabCamera.qml +++ b/webgl-release-demo/TabCamera.qml @@ -1,5 +1,4 @@ import QtQuick 2.11 -import QtQuick.Window 2.11 import QtQuick.Layouts 1.11 import QtQuick.Controls 2.4 import QtMultimedia 5.11 diff --git a/webgl-release-demo/TabPhotos.qml b/webgl-release-demo/TabPhotos.qml index e39d0e3e420d3f8b134cc670e32887dbe1cdc13e..8b2d7f2cd2e867c0bc7175b044a02538ad000f10 100644 --- a/webgl-release-demo/TabPhotos.qml +++ b/webgl-release-demo/TabPhotos.qml @@ -1,5 +1,4 @@ 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