diff options
Diffstat (limited to 'examples/multimedia/video/qmlvideo/qmlvideo.pro')
-rw-r--r-- | examples/multimedia/video/qmlvideo/qmlvideo.pro | 88 |
1 files changed, 81 insertions, 7 deletions
diff --git a/examples/multimedia/video/qmlvideo/qmlvideo.pro b/examples/multimedia/video/qmlvideo/qmlvideo.pro index dbd3a42a1..b61339264 100644 --- a/examples/multimedia/video/qmlvideo/qmlvideo.pro +++ b/examples/multimedia/video/qmlvideo/qmlvideo.pro @@ -7,15 +7,88 @@ android: qtHaveModule(androidextras) { DEFINES += REQUEST_PERMISSIONS_ON_ANDROID } -LOCAL_SOURCES = main.cpp -LOCAL_HEADERS = trace.h +DEFINES += \ + FREQUENCYMONITOR_SUPPORT \ + PERFORMANCEMONITOR_SUPPORT -SOURCES += $$LOCAL_SOURCES -HEADERS += $$LOCAL_HEADERS -RESOURCES += qmlvideo.qrc +SOURCES += \ + frequencymonitor.cpp \ + frequencymonitordeclarative.cpp \ + main.cpp \ + performancemonitor.cpp \ + performancemonitordeclarative.cpp \ + qmlvideo/videosingleton.cpp -SNIPPETS_PATH = ../snippets -include($$SNIPPETS_PATH/performancemonitor/performancemonitordeclarative.pri) +INCLUDEPATH += qmlvideo + +DEFINES += QMLVIDEO_LIB + +HEADERS += \ + frequencymonitor.h \ + performancemonitor.h \ + performancemonitordeclarative.h \ + trace.h \ + qmlvideo/videosingleton.h + +resources.files = \ + frequencymonitor/FrequencyItem.qml \ + frequencymonitor/qmldir \ + performancemonitor/PerformanceItem.qml \ + performancemonitor/qmldir \ + qmlvideo/CameraBasic.qml \ + qmlvideo/CameraDrag.qml \ + qmlvideo/CameraDummy.qml \ + qmlvideo/CameraFullScreen.qml \ + qmlvideo/CameraFullScreenInverted.qml \ + qmlvideo/CameraItem.qml \ + qmlvideo/CameraMove.qml \ + qmlvideo/CameraOverlay.qml \ + qmlvideo/CameraResize.qml \ + qmlvideo/CameraRotate.qml \ + qmlvideo/CameraSpin.qml \ + qmlvideo/Content.qml \ + qmlvideo/ErrorDialog.qml \ + qmlvideo/Main.qml \ + qmlvideo/Scene.qml \ + qmlvideo/SceneBasic.qml \ + qmlvideo/SceneDrag.qml \ + qmlvideo/SceneFullScreen.qml \ + qmlvideo/SceneFullScreenInverted.qml \ + qmlvideo/SceneMove.qml \ + qmlvideo/SceneMulti.qml \ + qmlvideo/SceneOverlay.qml \ + qmlvideo/SceneResize.qml \ + qmlvideo/SceneRotate.qml \ + qmlvideo/SceneSelectionPanel.qml \ + qmlvideo/SceneSpin.qml \ + qmlvideo/SeekControl.qml \ + qmlvideo/VideoBasic.qml \ + qmlvideo/VideoDrag.qml \ + qmlvideo/VideoDummy.qml \ + qmlvideo/VideoFillMode.qml \ + qmlvideo/VideoFullScreen.qml \ + qmlvideo/VideoFullScreenInverted.qml \ + qmlvideo/VideoItem.qml \ + qmlvideo/VideoMetadata.qml \ + qmlvideo/VideoMove.qml \ + qmlvideo/VideoOverlay.qml \ + qmlvideo/VideoPlaybackRate.qml \ + qmlvideo/VideoResize.qml \ + qmlvideo/VideoRotate.qml \ + qmlvideo/VideoSeek.qml \ + qmlvideo/VideoSpin.qml \ + qmlvideo/images/folder.png \ + qmlvideo/images/leaves.jpg \ + qmlvideo/images/up.png \ + qmlvideo/qmldir + +resources.prefix = /qt/qml/ + +RESOURCES += resources + +CONFIG += qmltypes +QML_IMPORT_NAME = qmlvideo +QML_IMPORT_MAJOR_VERSION = 1 target.path = $$[QT_INSTALL_EXAMPLES]/multimedia/video/qmlvideo INSTALLS += target @@ -23,3 +96,4 @@ INSTALLS += target EXAMPLE_FILES += \ qmlvideo.png \ qmlvideo.svg + |