summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2012-08-31 00:51:20 +0900
committerQt by Nokia <qt-info@nokia.com>2012-09-04 10:29:23 +0200
commitc15b2833bad91d26ccacf49047d935664fb341e5 (patch)
treec2c8172eb12ca8458fb60d6779f2e2b7e0bdf2b3 /examples
parent60e3d0ca80b50ee0b6813007b7cf8485c84eabe1 (diff)
downloadqtmultimedia-c15b2833bad91d26ccacf49047d935664fb341e5.tar.gz
Make compile with -no-widgets
Change-Id: I6a057950315a1e2084fd6fc130007f865d096f12 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pro18
1 files changed, 10 insertions, 8 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index 92e530ad5..65b4d3fe6 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,12 +1,13 @@
TEMPLATE = subdirs
+SUBDIRS += audiodecoder
+
# These examples all need widgets for now (using creator templates that use widgets)
!isEmpty(QT.widgets.name) {
SUBDIRS += \
radio \
camera \
spectrum \
- audiodecoder \
audiorecorder \
audiodevices \
audioinput \
@@ -15,14 +16,15 @@ TEMPLATE = subdirs
videowidget \
player
- contains(QT_CONFIG, qml) {
- disabled:SUBDIRS += declarative-camera
- SUBDIRS += \
- declarative-radio \
- video
- }
-
QT += widgets
}
+!isEmpty(QT.gui.name):!isEmpty(QT.qml.name) {
+ disabled:SUBDIRS += declarative-camera
+ SUBDIRS += \
+ declarative-radio \
+ video
+}
+
config_openal: SUBDIRS += audioengine
+