Add the embedded demos-examples to the build.
authorCasper van Donderen <casper.vandonderen@nokia.com>
Thu, 23 Jun 2011 14:59:09 +0000 (16:59 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 24 Jun 2011 14:47:24 +0000 (16:47 +0200)
Change-Id: Ib0a1e650913416e3ec05f1a86c139844a814f8bf
Reviewed-on: http://codereview.qt.nokia.com/686
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: David Boddie
examples/embedded/digiflip/digiflip.pro
examples/embedded/embedded.pro
examples/embedded/flickable/flickable.pro
examples/embedded/flightinfo/flightinfo.pro
examples/embedded/lightmaps/lightmaps.pro
examples/embedded/raycasting/raycasting.pro
examples/examples.pro

index 7fa06fa..cd64f7c 100644 (file)
@@ -2,10 +2,10 @@ SOURCES = digiflip.cpp
 
 symbian {
     TARGET.UID3 = 0xA000CF72
-    CONFIG += qt_demo
+    CONFIG += qt_example
 }
 
-target.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/digiflip
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/digiflip
 sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/digiflip
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/digiflip
 INSTALLS += target sources
index e9a448b..2159b19 100644 (file)
@@ -6,7 +6,7 @@ SUBDIRS += flightinfo
 
 # install
 sources.files = README *.pro
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded
 INSTALLS += sources
 
 symbian: CONFIG += qt_demo
index 6ee744b..e90e64f 100644 (file)
@@ -3,10 +3,10 @@ HEADERS = flickable.h
 
 symbian {
     TARGET.UID3 = 0xA000CF73
-    CONFIG += qt_demo
+    CONFIG += qt_example
 }
 
-target.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/flickable
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/flickable
 sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/flickable
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/flickable
 INSTALLS += target sources
index a33423f..9fce741 100644 (file)
@@ -7,11 +7,11 @@ QT += network
 
 symbian {
     TARGET.UID3 = 0xA000CF74
-    CONFIG += qt_demo
+    CONFIG += qt_example
     TARGET.CAPABILITY = NetworkServices
 }
 
-target.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/flightinfo
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/flightinfo
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/flightinfo
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/flightinfo
 INSTALLS += target sources
index 2751c3a..7622f88 100644 (file)
@@ -10,12 +10,12 @@ QT += network
 
 symbian {
     TARGET.UID3 = 0xA000CF75
-    CONFIG += qt_demo
+    CONFIG += qt_example
     TARGET.CAPABILITY = NetworkServices
     TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
 }
 
-target.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/lightmaps
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/lightmaps
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/lightmaps
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/lightmaps
 INSTALLS += target sources
index a4bb182..83103a5 100644 (file)
@@ -4,10 +4,10 @@ RESOURCES += raycasting.qrc
 
 symbian {
     TARGET.UID3 = 0xA000CF76
-    CONFIG += qt_demo
+    CONFIG += qt_example
 }
 
-target.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/raycasting
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/raycasting
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/embedded/raycasting
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/embedded/raycasting
 INSTALLS += target sources
index 9da2085..3abcf22 100644 (file)
@@ -48,6 +48,8 @@ symbian: SUBDIRS = \
     SUBDIRS += multimedia
 }
 
+wince*|symbian|embedded|x11:!contains(QT_CONFIG, no-gui): SUBDIRS += embedded
+
 embedded:SUBDIRS += qws
 contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib
 contains(QT_CONFIG, opengl): SUBDIRS += opengl