##// 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 1 CURRENTLY_BUILDING_COMPONENTS = "demos"
2 2 !include( ../config.pri ) {
3 3 error( "Couldn't find the config.pri file!" )
4 4 }
5 5
6 6 TEMPLATE = subdirs
7 7 SUBDIRS += piechartcustomization \
8 8 dynamicspline \
9 9 nesteddonuts \
10 10 qmlchart \
11 11 qmlweather \
12 12 qmlf1legends \
13 13 qmlcustomizations \
14 14 qmlcustommodel \
15 15 chartinteractions \
16 16 qmlaxes \
17 17 qmlcustomlegend
18 # audio
19 18
20 19 contains(QT_CONFIG, opengl) {
21 20 SUBDIRS += chartthemes \
22 21 qmloscilloscope \
23 22 chartviewer
24 23 } else {
25 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