##// END OF EJS Templates
Don't build audio input demo if multimedia library is missing
Marek Rosa -
r2157:e253dd067540
parent child
Show More
@@ -1,26 +1,31
1 CURRENTLY_BUILDING_COMPONENTS = "demos"
1 CURRENTLY_BUILDING_COMPONENTS = "demos"
2 !include( ../config.pri ) {
2 !include( ../config.pri ) {
3 error( "Couldn't find the config.pri file!" )
3 error( "Couldn't find the config.pri file!" )
4 }
4 }
5
5
6 TEMPLATE = subdirs
6 TEMPLATE = subdirs
7 SUBDIRS += piechartcustomization \
7 SUBDIRS += piechartcustomization \
8 dynamicspline \
8 dynamicspline \
9 nesteddonuts \
9 nesteddonuts \
10 qmlchart \
10 qmlchart \
11 qmlweather \
11 qmlweather \
12 qmlf1legends \
12 qmlf1legends \
13 qmlcustomizations \
13 qmlcustomizations \
14 qmlcustommodel \
14 qmlcustommodel \
15 chartinteractions \
15 chartinteractions \
16 qmlaxes \
16 qmlaxes \
17 qmlcustomlegend
17 qmlcustomlegend
18 # audio
19
18
20 contains(QT_CONFIG, opengl) {
19 contains(QT_CONFIG, opengl) {
21 SUBDIRS += chartthemes \
20 SUBDIRS += chartthemes \
22 qmloscilloscope \
21 qmloscilloscope \
23 chartviewer
22 chartviewer
24 } else {
23 } else {
25 message("OpenGL not available. Some demos are disabled")
24 message("OpenGL not available. Some demos are disabled")
26 }
25 }
26
27 contains(QT_CONFIG, multimedia) {
28 SUBDIRS += audio
29 } else {
30 message("QtMultimedia library not available. Some demos are disabled")
31 }
General Comments 0
You need to be logged in to leave comments. Login now