From e253dd06754003ac55d2ef8b88b5a012b17b79d2 2012-10-15 12:29:37 From: Marek Rosa Date: 2012-10-15 12:29:37 Subject: [PATCH] Don't build audio input demo if multimedia library is missing --- 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") +}