diff options
Diffstat (limited to 'examples/examples.pro')
-rw-r--r-- | examples/examples.pro | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/examples/examples.pro b/examples/examples.pro index 923380eda..ef1cc1147 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -1,22 +1,27 @@ TEMPLATE = subdirs -SUBDIRS += \ - radio \ - camera \ - slideshow \ - spectrum \ - audiorecorder \ - audiodevices \ - audioinput \ - audiooutput \ - videographicsitem \ - videowidget \ - video \ - player \ +# These examples all need widgets for now (using creator templates that use widgets) +contains(config_test_widgets, yes) { + SUBDIRS += \ + radio \ + camera \ + slideshow \ + spectrum \ + audiorecorder \ + audiodevices \ + audioinput \ + audiooutput \ + videographicsitem \ + videowidget \ + player -contains(QT_CONFIG, declarative) { - disabled:SUBDIRS += declarative-camera - SUBDIRS += declarative-radio + contains(QT_CONFIG, declarative) { + disabled:SUBDIRS += declarative-camera + SUBDIRS += \ + declarative-radio \ + video + } + + QT += widgets } -QT+=widgets |