Moved demo(s) to examples.
authorJonas Rabbe <jonas.rabbe@nokia.com>
Tue, 12 Jul 2011 03:22:06 +0000 (13:22 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 12 Jul 2011 05:55:02 +0000 (07:55 +0200)
Demos are no longer part of QT_BUILD_PARTS, so any demos must be moved
to examples to be build. So far that means the player demo.

Change-Id: I92641be38accb1c1b723009f1004c63f59ec8266
Reviewed-on: http://codereview.qt.nokia.com/1470
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
14 files changed:
demos/demos.pri [deleted file]
demos/demos.pro [deleted file]
examples/examples.pro
examples/player/main.cpp [moved from demos/player/main.cpp with 100% similarity]
examples/player/player.cpp [moved from demos/player/player.cpp with 100% similarity]
examples/player/player.h [moved from demos/player/player.h with 100% similarity]
examples/player/player.pro [moved from demos/player/player.pro with 81% similarity]
examples/player/playercontrols.cpp [moved from demos/player/playercontrols.cpp with 100% similarity]
examples/player/playercontrols.h [moved from demos/player/playercontrols.h with 100% similarity]
examples/player/playlistmodel.cpp [moved from demos/player/playlistmodel.cpp with 100% similarity]
examples/player/playlistmodel.h [moved from demos/player/playlistmodel.h with 100% similarity]
examples/player/videowidget.cpp [moved from demos/player/videowidget.cpp with 100% similarity]
examples/player/videowidget.h [moved from demos/player/videowidget.h with 100% similarity]
qtmultimediakit.pro

diff --git a/demos/demos.pri b/demos/demos.pri
deleted file mode 100644 (file)
index 48c8bf2..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-include(../features/basic_examples_setup.pri)
-
-!plugin {
-    target.path=$$QT_MOBILITY_DEMOS
-} else {
-    target.path = $${QT_MOBILITY_PLUGINS}/$${PLUGIN_TYPE}
-}
-INSTALLS += target
-
-
diff --git a/demos/demos.pro b/demos/demos.pro
deleted file mode 100644 (file)
index 22d06f5..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-TEMPLATE = subdirs
-
-SUBDIRS += \
-    player
-
-sources.path = $$QT_MOBILITY_DEMOS
-INSTALLS += sources
index 522b1b5..8135f56 100644 (file)
@@ -9,7 +9,8 @@ SUBDIRS += \
     audioinput \
     audiooutput \
     videographicsitem \
-    videowidget
+    videowidget \
+    player \
 
 contains(QT_CONFIG, declarative) {
     SUBDIRS += declarative-camera
similarity index 81%
rename from demos/player/player.pro
rename to examples/player/player.pro
index 332a84c..c22066d 100644 (file)
@@ -28,8 +28,8 @@ symbian {
 }
 
 #install
-target.path = $$[QT_INSTALL_DEMOS]/qtmultimediakit/player
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/player
 sources.files = $$SOURCES $HEADERS $$RESOURCES $$FORMS *.pro
-sources.path = $$[QT_INSTALL_DEMOS]/qtmultimediakit/player
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/player
 INSTALLS += target sources
 
index 38de934..54eb405 100644 (file)
@@ -3,13 +3,6 @@ TEMPLATE = subdirs
 module_qtmultimediakit_src.subdir = src
 module_qtmultimediakit_src.target = module-qtmultimediakit-src
 
-module_qtmultimediakit_demos.subdir = demos
-module_qtmultimediakit_demos.target = module-qtmultimediakit-demos
-module_qtmultimediakit_demos.depends = module_qtmultimediakit_src
-!contains(QT_BUILD_PARTS,demos) {
-    module_qtmultimediakit_demos.CONFIG = no_default_target no_default_install
-}
-
 module_qtmultimediakit_examples.subdir = examples
 module_qtmultimediakit_examples.target = module-qtmultimediakit-examples
 module_qtmultimediakit_examples.depends = module_qtmultimediakit_src
@@ -23,7 +16,6 @@ module_qtmultimediakit_tests.depends = module_qtmultimediakit_src
 module_qtmultimediakit_tests.CONFIG = no_default_target no_default_install
 
 SUBDIRS += module_qtmultimediakit_src \
-           module_qtmultimediakit_demos \
            module_qtmultimediakit_examples \
            module_qtmultimediakit_tests \