summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2019-04-02 17:32:59 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2019-04-04 09:59:22 +0000
commit34310ed69919f452dbcdae42f350254a40a06113 (patch)
treeee4578975d4468ec47085515dd05855fad673f34
parent7eea4809348948254c64f899b77e186f2ad3baed (diff)
Split demos.xml to individual xml files
Each demo describes itself and can then be excluded from a device by not including the directory. Task-number: QTBUG-74930 Change-Id: Ica45db9dfbf1224cf7a08b83632ba90c5cc55faa Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
-rw-r--r--basicsuite/about-b2qt/demo.xml7
-rw-r--r--basicsuite/advancedcustommaterial/demo.xml9
-rw-r--r--basicsuite/camera/demo.xml9
-rw-r--r--basicsuite/canvas3d-planets/demo.xml7
-rw-r--r--basicsuite/demos.xml122
-rw-r--r--basicsuite/ebike-ui/demo.xml9
-rw-r--r--basicsuite/enterprise-charts/demo.xml9
-rw-r--r--basicsuite/enterprise-dashboard/demo.xml7
-rw-r--r--basicsuite/enterprise-flat-controls/demo.xml7
-rw-r--r--basicsuite/enterprise-qtdatavis3d/demo.xml7
-rw-r--r--basicsuite/graphicaleffects/demo.xml9
-rw-r--r--basicsuite/mediaplayer/demo.xml9
-rw-r--r--basicsuite/qt5-cinematicdemo/demo.xml9
-rw-r--r--basicsuite/qtquickcontrols2/demo.xml9
-rw-r--r--basicsuite/qtquickcontrols2/qtquickcontrols2.pro1
-rw-r--r--basicsuite/qtwebbrowser/demo.xml9
-rw-r--r--basicsuite/shared/shared.pri4
-rw-r--r--basicsuite/textinput/demo.xml9
18 files changed, 128 insertions, 124 deletions
diff --git a/basicsuite/about-b2qt/demo.xml b/basicsuite/about-b2qt/demo.xml
new file mode 100644
index 0000000..193022f
--- /dev/null
+++ b/basicsuite/about-b2qt/demo.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="About Qt for Device Creation" priority="10" main="main.qml" icon="preview_l.jpg">
+<description>
+Provides an introduction to what Qt for Device Creation is all about.
+</description>
+</application>
diff --git a/basicsuite/advancedcustommaterial/demo.xml b/basicsuite/advancedcustommaterial/demo.xml
new file mode 100644
index 0000000..ce9abef
--- /dev/null
+++ b/basicsuite/advancedcustommaterial/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Advanced custom materials" main="main.qml" icon="preview_l.jpg">
+<description>
+This example demonstrates advanced materials in Qt3D.
+
+Demo shows complex shaders and demonstrates controlling your shader properties with QtQuick user interface and Animation. Water is a 3D mesh, that is modeled and uv mapped inside Blender, and then brought into Scene 3D as an .obj file.
+</description>
+</application>
diff --git a/basicsuite/camera/demo.xml b/basicsuite/camera/demo.xml
new file mode 100644
index 0000000..cf30096
--- /dev/null
+++ b/basicsuite/camera/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Camera" main="main.qml" icon="preview_l.jpg">
+<description>
+This example demonstrates the use of the camera features of Qt Multimedia with Qt Quick.
+
+Demo can be used to take photos which are saved in the /data/images/ directory. Camera parameters such as flash mode, scene mode or white balance can be changed. The availability of parameters depends on what the camera driver provides.
+</description>
+</application>
diff --git a/basicsuite/canvas3d-planets/demo.xml b/basicsuite/canvas3d-planets/demo.xml
new file mode 100644
index 0000000..2fd205a
--- /dev/null
+++ b/basicsuite/canvas3d-planets/demo.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Qt Canvas3D - Planets" main="main.qml" icon="preview_l.jpg">
+<description>
+The Planets example showcases Qt Canvas 3D. This demo combines WebGL code and three.js with QML and Qt Quick Controls.
+</description>
+</application>
diff --git a/basicsuite/demos.xml b/basicsuite/demos.xml
deleted file mode 100644
index 938fdef..0000000
--- a/basicsuite/demos.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<applications>
-<!--
-<application title="About Qt for Device Creation" priority="10" location="/data/user/qt/about-b2qt" main="main.qml" icon="/data/user/qt/about-b2qt/preview_l.jpg">
-<description>
-Provides an introduction to what Qt for Device Creation is all about.
-</description>
-</application>
-
-<application title="Camera" location="/data/user/qt/camera" main="main.qml" icon="/data/user/qt/camera/preview_l.jpg" exclude="linux-jetson-tx1;linux-beagleboard;linux-beaglebone;linux-raspberrypi;linux-emulator;linux-apalis-imx6;linux-colibri-vf">
-<description>
-This example demonstrates the use of the camera features of Qt Multimedia with Qt Quick.
-
-Demo can be used to take photos which are saved in the /data/images/ directory. Camera parameters such as flash mode, scene mode or white balance can be changed. The availability of parameters depends on what the camera driver provides.
-</description>
-</application>
-
-<application title="Qt Canvas3D - Planets" location="/data/user/qt/canvas3d-planets" main="main.qml" icon="/data/user/qt/canvas3d-planets/preview_l.jpg" exclude="linux-emulator;linux-raspberrypi3;linux-raspberrypi2;linux-raspberrypi;linux-beaglebone;linux-colibri-vf">
-<description>
-The Planets example showcases Qt Canvas 3D. This demo combines WebGL code and three.js with QML and Qt Quick Controls.
-</description>
-</application>
--->
-
-<application title="Qt Charts - Gallery" location="/data/user/qt/enterprise-charts" main="main.qml" icon="/data/user/qt/enterprise-charts/preview_l.jpg">
-<description>
-This demo presents different types of charts that are available from Qt Charts library.
-
-Qt Charts is part of the Qt Enterprise addons package which provides a set of easy to use chart components. It uses the Qt Graphics View Framework, therefore charts can be easily integrated to modern user interfaces. Qt Charts can be used as QWidgets, QGraphicsWidget, or QML types.
-</description>
-</application>
-
-<!--
-<application title="Qt Quick Extras Dashboard" location="/data/user/qt/enterprise-dashboard" main="main.qml" icon="/data/user/qt/enterprise-dashboard/preview_l.jpg">
-<description>
-The dashboard demo uses Qt Quick Extras to create a digital dashboard for a car.
-</description>
-</application>
-
-<application title="Qt Quick Controls - Flat Style Gallery" location="/data/user/qt/enterprise-flat-controls" main="main.qml" icon="/data/user/qt/enterprise-flat-controls/preview_l.jpg">
-<description>
-The Flat Style Gallery example showcases the Qt Quick Controls. This demo combines both the standard Qt Quick Controls as well as the Qt Quick Extras both of which are using the new Flat style. The Flat style for Qt Quick Controls has a modern look and feel and is perfect for the touch driven interfaces commonly developed by device creators.
-</description>
-</application>
-
-<application title="Qt Data Visualization 3D - Surface Multiseries" location="/data/user/qt/enterprise-qtdatavis3d" main="main.qml" icon="/data/user/qt/enterprise-qtdatavis3d/preview_l.jpg" exclude="linux-raspberrypi;linux-raspberrypi2;linux-raspberrypi3;linux-colibri-vf">
-<description>
-Shows how to make a 3D surface plot, displaying three layers from three different height map images using Surface3D with Qt Quick.
-</description>
-</application>
--->
-
-<application title="Graphical Effects" location="/data/user/qt/graphicaleffects" main="main.qml" icon="/data/user/qt/graphicaleffects/preview_l.jpg" exclude="linux-beaglebone;linux-colibri-vf;linux-colibri-imx7;linux-imx7s-warp;linux-nitrogen7;linux-colibri-imx6ull">
-<description>
-This example shows the Qt Quick ShaderEffect type and the Qt Graphical Effects module. Qt Quick provides the ability to use inline GLSL in your Qt Quick applications to create stunning visual effects.
-
-However, as UIs typically reuse many of the same effects, the Qt Graphical Effects module provides a set of predefined, commonly used effects. This includes blur, drop-shadows, glow, blending, opacity masks, and more.
-</description>
-</application>
-
-<application title="Media Player" location="/data/user/qt/mediaplayer" main="main.qml" icon="/data/user/qt/mediaplayer/preview_l.jpg" exclude="linux-beaglebone;linux-colibri-vf;linux-colibri-imx6ull">
-<description>
-The Media Player example demonstrates the use of media playback features provided by Qt Multimedia with Qt Quick.
-
-It can play content either from a file or a network source, both videos and music.
-</description>
-</application>
-
-<!--
-<application title="Qt5 Cinematic Demo" location="/data/user/qt/qt5-cinematicdemo" main="main.qml" icon="/data/user/qt/qt5-cinematicdemo/preview_l.jpg">
-<description>
-The Qt 5 Cinematic Experience is a demo by "QUIt Coding".
-
-The demo shows off a number features of Qt Quick. A nicely styled list control of movie covers with lighting effects, particles and transitions. The information roll-down curvy curtain is implemented using inline GLSL in the QML file. The source code for this demo and more awesome looking Qt Quick examples are available from quitcoding.com.
-</description>
-</application>
--->
-
-<application title="Web Browser" location="/data/user/qt/qtwebbrowser" main="main.qml" icon="/data/user/qt/qtwebbrowser/preview_l.jpg" exclude="linux-emulator;linux-raspberrypi;linux-beaglebone;linux-colibri-vf;linux-colibri-imx7;linux-imx7s-warp;linux-nitrogen7;linux-colibri-imx6ull">
-<description>
-This example demonstrates the use of Qt WebEngine with Qt Quick.
-
-Demo can be used to browse the internet (working network connection required) or run the offline web page demos.
-</description>
-</application>
-
-<application title="Virtual Keyboard" location="/data/user/qt/textinput" main="main.qml" icon="/data/user/qt/textinput/preview_l.jpg">
-<description>
-This example illustrates how to handle input on touch devices.
-
-Qt for Device Creation comes with Qt Virtual Keyboard - a framework that consists of a C++ backend with support for custom input methods, as well as a reference keyboard front end implemented in QML, supporting multiple languages.
-</description>
-</application>
-
-<application title="E-Bike" location="/data/user/qt/ebike-ui" main="main.qml" icon="/data/user/qt/ebike-ui/preview_l.jpg">
-<description>
-An E-bike instrument cluster concept designed and implemented by Qt.
-
-The entire concept is a testament that Qt brings the HMI designers and Software engineers together by using the same tools, allowing them to fast prototyping through collaborative workflow. In addition to that, Qt is optimized for running on low end SoC even the ones that don't have GPU acceleration for graphics.
-</description>
-</application>
-
-<application title="Quick Controls 2" location="/data/user/qt/qtquickcontrols2" main="main.qml" icon="/data/user/qt/qtquickcontrols2/preview_l.jpg">
-<description>
-The gallery example is a simple application with a drawer menu that contains all the Qt Quick Controls 2.
-
-Each menu item opens a page that shows the graphical appearance of a control, allows you to interact with the control, and explains in which circumstances it is handy to use this control.
-</description>
-</application>
-
-<!--
-<application title="Advanced custom materials" location="/data/user/qt/advancedcustommaterial" main="main.qml" icon="/data/user/qt/advancedcustommaterial/preview_l.jpg" exclude="linux-beaglebone;linux-colibri-vf;linux-colibri-imx7;linux-imx7s-warp;linux-nitrogen7;linux-colibri-imx6ull">
-<description>
-This example demonstrates advanced materials in Qt3D.
-
-Demo shows complex shaders and demonstrates controlling your shader properties with QtQuick user interface and Animation. Water is a 3D mesh, that is modeled and uv mapped inside Blender, and then brought into Scene 3D as an .obj file.
-</description>
-</application>
--->
-
-</applications>
diff --git a/basicsuite/ebike-ui/demo.xml b/basicsuite/ebike-ui/demo.xml
new file mode 100644
index 0000000..884a65c
--- /dev/null
+++ b/basicsuite/ebike-ui/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="E-Bike" main="main.qml" icon="preview_l.jpg">
+<description>
+An E-bike instrument cluster concept designed and implemented by Qt.
+
+The entire concept is a testament that Qt brings the HMI designers and Software engineers together by using the same tools, allowing them to fast prototyping through collaborative workflow. In addition to that, Qt is optimized for running on low end SoC even the ones that don't have GPU acceleration for graphics.
+</description>
+</application>
diff --git a/basicsuite/enterprise-charts/demo.xml b/basicsuite/enterprise-charts/demo.xml
new file mode 100644
index 0000000..938e13c
--- /dev/null
+++ b/basicsuite/enterprise-charts/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Qt Charts - Gallery" main="main.qml" icon="preview_l.jpg">
+<description>
+This demo presents different types of charts that are available from Qt Charts library.
+
+Qt Charts is part of the Qt Enterprise addons package which provides a set of easy to use chart components. It uses the Qt Graphics View Framework, therefore charts can be easily integrated to modern user interfaces. Qt Charts can be used as QWidgets, QGraphicsWidget, or QML types.
+</description>
+</application>
diff --git a/basicsuite/enterprise-dashboard/demo.xml b/basicsuite/enterprise-dashboard/demo.xml
new file mode 100644
index 0000000..b8afaed
--- /dev/null
+++ b/basicsuite/enterprise-dashboard/demo.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Qt Quick Extras Dashboard" main="main.qml" icon="preview_l.jpg">
+<description>
+The dashboard demo uses Qt Quick Extras to create a digital dashboard for a car.
+</description>
+</application>
diff --git a/basicsuite/enterprise-flat-controls/demo.xml b/basicsuite/enterprise-flat-controls/demo.xml
new file mode 100644
index 0000000..861d1e8
--- /dev/null
+++ b/basicsuite/enterprise-flat-controls/demo.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Qt Quick Controls - Flat Style Gallery" main="main.qml" icon="preview_l.jpg">
+<description>
+The Flat Style Gallery example showcases the Qt Quick Controls. This demo combines both the standard Qt Quick Controls as well as the Qt Quick Extras both of which are using the new Flat style. The Flat style for Qt Quick Controls has a modern look and feel and is perfect for the touch driven interfaces commonly developed by device creators.
+</description>
+</application>
diff --git a/basicsuite/enterprise-qtdatavis3d/demo.xml b/basicsuite/enterprise-qtdatavis3d/demo.xml
new file mode 100644
index 0000000..df6102b
--- /dev/null
+++ b/basicsuite/enterprise-qtdatavis3d/demo.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Qt Data Visualization 3D - Surface Multiseries" main="main.qml" icon="preview_l.jpg">
+<description>
+Shows how to make a 3D surface plot, displaying three layers from three different height map images using Surface3D with Qt Quick.
+</description>
+</application>
diff --git a/basicsuite/graphicaleffects/demo.xml b/basicsuite/graphicaleffects/demo.xml
new file mode 100644
index 0000000..07d4fe4
--- /dev/null
+++ b/basicsuite/graphicaleffects/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Graphical Effects" main="main.qml" icon="preview_l.jpg">
+<description>
+This example shows the Qt Quick ShaderEffect type and the Qt Graphical Effects module. Qt Quick provides the ability to use inline GLSL in your Qt Quick applications to create stunning visual effects.
+
+However, as UIs typically reuse many of the same effects, the Qt Graphical Effects module provides a set of predefined, commonly used effects. This includes blur, drop-shadows, glow, blending, opacity masks, and more.
+</description>
+</application>
diff --git a/basicsuite/mediaplayer/demo.xml b/basicsuite/mediaplayer/demo.xml
new file mode 100644
index 0000000..dd5cf2b
--- /dev/null
+++ b/basicsuite/mediaplayer/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Media Player" main="main.qml" icon="preview_l.jpg">
+<description>
+The Media Player example demonstrates the use of media playback features provided by Qt Multimedia with Qt Quick.
+
+It can play content either from a file or a network source, both videos and music.
+</description>
+</application>
diff --git a/basicsuite/qt5-cinematicdemo/demo.xml b/basicsuite/qt5-cinematicdemo/demo.xml
new file mode 100644
index 0000000..2886b75
--- /dev/null
+++ b/basicsuite/qt5-cinematicdemo/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Qt5 Cinematic Demo" main="main.qml" icon="preview_l.jpg">
+<description>
+The Qt 5 Cinematic Experience is a demo by "QUIt Coding".
+
+The demo shows off a number features of Qt Quick. A nicely styled list control of movie covers with lighting effects, particles and transitions. The information roll-down curvy curtain is implemented using inline GLSL in the QML file. The source code for this demo and more awesome looking Qt Quick examples are available from quitcoding.com.
+</description>
+</application>
diff --git a/basicsuite/qtquickcontrols2/demo.xml b/basicsuite/qtquickcontrols2/demo.xml
new file mode 100644
index 0000000..4d3b8b6
--- /dev/null
+++ b/basicsuite/qtquickcontrols2/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Quick Controls 2" main="main.qml" icon="preview_l.jpg">
+<description>
+The gallery example is a simple application with a drawer menu that contains all the Qt Quick Controls 2.
+
+Each menu item opens a page that shows the graphical appearance of a control, allows you to interact with the control, and explains in which circumstances it is handy to use this control.
+</description>
+</application>
diff --git a/basicsuite/qtquickcontrols2/qtquickcontrols2.pro b/basicsuite/qtquickcontrols2/qtquickcontrols2.pro
index 1d3eac1..a0ecaf5 100644
--- a/basicsuite/qtquickcontrols2/qtquickcontrols2.pro
+++ b/basicsuite/qtquickcontrols2/qtquickcontrols2.pro
@@ -4,7 +4,6 @@ include(../shared/shared.pri)
b2qtdemo_deploy_defaults()
content.files = \
- $$PWD/preview_l.jpg \
$$PWD/main.qml \
$$PWD/qtquickcontrols2.conf \
$$PWD/images \
diff --git a/basicsuite/qtwebbrowser/demo.xml b/basicsuite/qtwebbrowser/demo.xml
new file mode 100644
index 0000000..020afa7
--- /dev/null
+++ b/basicsuite/qtwebbrowser/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Web Browser" main="main.qml" icon="preview_l.jpg">
+<description>
+This example demonstrates the use of Qt WebEngine with Qt Quick.
+
+Demo can be used to browse the internet (working network connection required) or run the offline web page demos.
+</description>
+</application>
diff --git a/basicsuite/shared/shared.pri b/basicsuite/shared/shared.pri
index 50772d0..9277275 100644
--- a/basicsuite/shared/shared.pri
+++ b/basicsuite/shared/shared.pri
@@ -16,7 +16,9 @@ HEADERS += $$PWD/engine.h
defineTest(b2qtdemo_deploy_defaults) {
commonFiles.files = \
- ../shared/SharedMain.qml
+ ../shared/SharedMain.qml \
+ preview_l.jpg \
+ demo.xml
commonFiles.path = $$DESTPATH
OTHER_FILES += $${commonFiles.files}
INSTALLS += commonFiles
diff --git a/basicsuite/textinput/demo.xml b/basicsuite/textinput/demo.xml
new file mode 100644
index 0000000..fadfc67
--- /dev/null
+++ b/basicsuite/textinput/demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application title="Virtual Keyboard" main="main.qml" icon="preview_l.jpg">
+<description>
+This example illustrates how to handle input on touch devices.
+
+Qt for Device Creation comes with Qt Virtual Keyboard - a framework that consists of a C++ backend with support for custom input methods, as well as a reference keyboard front end implemented in QML, supporting multiple languages.
+</description>
+</application>