Build demo examples directory

The directory will host more demos in the future so it is
wise to enable CI to build it and report issues, if any.

Change-Id: I97fbe8fc7589ec2c18e1dcb32c02a40332f9453b
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Frederik Gladhorn 2018-06-16 10:41:04 +02:00 committed by Venugopal Shivashankar
parent 73fed75b57
commit 230db034cf
4 changed files with 14 additions and 4 deletions

View File

@ -23,9 +23,8 @@ DEFINES += QT_DEPRECATED_WARNINGS
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
else: win32|if(unix:!android): target.path = $$[QT_INSTALL_EXAMPLES]/demos/$${TARGET}
!isEmpty(target.path): INSTALLS += target
DISTFILES += \

6
examples/demos/demos.pro Normal file
View File

@ -0,0 +1,6 @@
TEMPLATE = subdirs
qtHaveModule(quick) {
SUBDIRS += coffee
}

4
examples/examples.pro Normal file
View File

@ -0,0 +1,4 @@
TEMPLATE = subdirs
SUBDIRS = demos

View File

@ -1,2 +1,3 @@
TEMPLATE = subdirs
SUBDIRS = doc
load(qt_parts)
SUBDIRS += doc