diff --git a/demos/demos.pro b/demos/demos.pro index 38a64d3..1af6225 100644 --- a/demos/demos.pro +++ b/demos/demos.pro @@ -15,7 +15,6 @@ SUBDIRS += piechartcustomization \ chartinteractions \ qmlaxes \ qmlcustomlegend -# audio contains(QT_CONFIG, opengl) { SUBDIRS += chartthemes \ @@ -24,3 +23,9 @@ contains(QT_CONFIG, opengl) { } else { message("OpenGL not available. Some demos are disabled") } + +contains(QT_CONFIG, multimedia) { + SUBDIRS += audio +} else { + message("QtMultimedia library not available. Some demos are disabled") +}