TEMPLATE = app
TARGET = player
-QT += network \
- xml
-INCLUDEPATH += ../../src/multimedia ../../src/multimedia/audio
+CONFIG += qt warn_on
-include(../demos.pri)
-CONFIG += mobility
-MOBILITY = multimedia
+QT += network \
+ xml \
+ multimediakit \
HEADERS = \
player.h \
LIBS += -lavkon -lcone -leikcore
TARGET.CAPABILITY = ReadUserData
}
+
+#install
+target.path = $$[QT_INSTALL_DEMOS]/qtmultimediakit/player
+sources.files = $$SOURCES $HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_DEMOS]/qtmultimediakit/player
+INSTALLS += target sources
+
TEMPLATE = app
-CONFIG += example
+TARGET = audiodevices
-INCLUDEPATH += ../../src/multimedia ../../src/multimedia/audio
-include(../mobility_examples.pri)
-
-CONFIG += mobility
-MOBILITY = multimedia
-
-QMAKE_RPATHDIR += $$DESTDIR
+QT += multimediakit
HEADERS = audiodevices.h
symbian {
TARGET.CAPABILITY = UserEnvironment WriteDeviceData ReadDeviceData
}
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/audiodevices
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/audiodevices
+
+INSTALLS += target sources
+
TEMPLATE = app
-CONFIG += example
+TARGET = audioinput
-INCLUDEPATH += ../../src/multimedia ../../src/multimedia/audio
-include(../mobility_examples.pri)
-
-CONFIG += mobility
-MOBILITY = multimedia
-
-QMAKE_RPATHDIR += $$DESTDIR
+QT += multimediakit
HEADERS = audioinput.h
SOURCES = audioinput.cpp \
main.cpp
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/audioinput
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/audioinput
+
+INSTALLS += target sources
+
TEMPLATE = app
-CONFIG += example
+TARGET += audiooutput
-INCLUDEPATH += ../../src/multimedia ../../src/multimedia/audio
-include(../mobility_examples.pri)
-
-CONFIG += mobility
-MOBILITY = multimedia
-
-QMAKE_RPATHDIR += $$DESTDIR
+QT += multimediakit
HEADERS = audiooutput.h
SOURCES = audiooutput.cpp \
main.cpp
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/audiooutput
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/audiooutput
+
+INSTALLS += target sources
+
TEMPLATE = app
-CONFIG += example
+TARGET = audiorecorder
-INCLUDEPATH += ../../src/multimedia ../../src/multimedia/audio
-include(../mobility_examples.pri)
-
-CONFIG += mobility
-MOBILITY = multimedia
-
-QMAKE_RPATHDIR += $$DESTDIR
+QT += multimediakit
HEADERS = \
audiorecorder.h
symbian: {
TARGET.CAPABILITY = UserEnvironment ReadDeviceData WriteDeviceData
}
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/audiorecorder
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/audiorecorder
+
+INSTALLS += target sources
+
TEMPLATE = app
TARGET = camera
-INCLUDEPATH+=../../src/multimedia \
- ../../src/multimedia/video
-
-include(../mobility_examples.pri)
-
-CONFIG += mobility
-MOBILITY = multimedia
+QT += multimediakit
HEADERS = \
camera.h \
TARGET.EPOCHEAPSIZE = 0x20000 0x3000000
LIBS += -lavkon -leiksrv -lcone -leikcore
}
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/camera
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/camera
+
+INSTALLS += target sources
+
-include (../mobility_examples.pri)
TEMPLATE=app
-QT += declarative network
+QT += declarative network multimediakit
!maemo5 {
contains(QT_CONFIG, opengl) {
}
}
-win32 {
- #required by Qt SDK to resolve Mobility libraries
- CONFIG+=mobility
- MOBILITY+=multimedia
-}
-
SOURCES += $$PWD/qmlcamera.cpp
!mac:TARGET = qml_camera
else:TARGET = QmlCamera
TARGET.EPOCHEAPSIZE = 0x20000 0x3000000
}
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/qml_camera
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/qml_camera
+
+INSTALLS += target sources
+
SUBDIRS += declarative-camera
}
-sources.path = $$QT_MOBILITY_EXAMPLES
-
-INSTALLS += sources
-
TEMPLATE = app
-CONFIG += example
+TARGET = radio
-INCLUDEPATH += ../../src/multimedia
-include(../mobility_examples.pri)
-
-CONFIG += mobility
-MOBILITY = multimedia
-
-QMAKE_RPATHDIR += $$DESTDIR
+QT += multimediakit
HEADERS = \
radio.h
symbian: {
TARGET.CAPABILITY = UserEnvironment WriteDeviceData ReadDeviceData SwEvent
}
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/radio
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/radio
+
+INSTALLS += target sources
+
TEMPLATE = app
TARGET = slideshow
-INCLUDEPATH+=../../src/multimedia
-include (../mobility_examples.pri)
-CONFIG += mobility
-MOBILITY = multimedia
+QT += multimediakit
HEADERS = \
slideshow.h
TARGET.CAPABILITY = NetworkServices
TARGET.EPOCHEAPSIZE = 0x20000 0x3000000
}
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/slideshow
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/slideshow
+
+INSTALLS += target sources
+
TEMPLATE = app
-CONFIG += example
+TARGET = videographicsitem
-INCLUDEPATH += ../../src/multimedia ../../src/multimedia/video
-include(../mobility_examples.pri)
-
-CONFIG += mobility
-MOBILITY = multimedia
-
-QMAKE_RPATHDIR += $$DESTDIR
+QT += multimediakit
!symbian:contains(QT_CONFIG, opengl): QT += opengl
SOURCES += main.cpp \
videoplayer.cpp \
videoitem.cpp
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/videographicsitem
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/videographicsitem
+
+INSTALLS += target sources
+
TEMPLATE = app
-CONFIG += example
+TARGET = videowidget
-INCLUDEPATH += ../../src/multimedia ../../src/multimedia/video
-include(../mobility_examples.pri)
-
-CONFIG += mobility
-MOBILITY = multimedia
-
-QMAKE_RPATHDIR += $$DESTDIR
+QT += multimediakit
HEADERS = \
videoplayer.h \
videowidget.cpp \
videowidgetsurface.cpp
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/videowidget
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimediakit/videowidget
+
+INSTALLS += target sources
+
module_qtmultimediakit_tests.CONFIG = no_default_target no_default_install
SUBDIRS += module_qtmultimediakit_src \
-# temporarily disable demos and examples
-# module_qtmultimediakit_demos \
-# module_qtmultimediakit_examples \
+ module_qtmultimediakit_demos \
+ module_qtmultimediakit_examples \
module_qtmultimediakit_tests \