diff options
author | Jonas Rabbe <jonas.rabbe@nokia.com> | 2012-02-06 10:55:59 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-08 04:38:16 +0100 |
commit | 6de7c3104006c3aa919a697bc94ec99a3f0c4140 (patch) | |
tree | 6c3a264f2adc265d39f4c1359619e63194b90fda /src/qtmultimediaquicktools/qtmultimediaquicktools.pro | |
parent | a94c8a1ac26f4a5a79d63672d21538d016bc09f4 (diff) |
Added loading of video node factories from plugins
This change will allow us to add new video node factories that
can be loaded dynamically at runtime.
The previous video node factories, I420 and RGB have been kept
as static parts of the Qt Multimedia imports, but can be moved
to plugins at a later date.
For plugins to be able to find and use QSGVideoNode, the class
has to be exported.
Change-Id: Idbead9a8ad33619cebe90fcec92eb29cf52ae9bd
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/qtmultimediaquicktools/qtmultimediaquicktools.pro')
-rw-r--r-- | src/qtmultimediaquicktools/qtmultimediaquicktools.pro | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/qtmultimediaquicktools/qtmultimediaquicktools.pro b/src/qtmultimediaquicktools/qtmultimediaquicktools.pro new file mode 100644 index 000000000..a94ab8482 --- /dev/null +++ b/src/qtmultimediaquicktools/qtmultimediaquicktools.pro @@ -0,0 +1,30 @@ +load(qt_module) + +TEMPLATE = lib + +TARGET = QtMultimediaQuick_p +QPRO_PWD = $$PWD +QT = core quick multimedia-private + +!static:DEFINES += QT_MAKEDLL + +DEFINES += QT_BUILD_QTMM_QUICK_LIB + +# Header files must go inside source directory of a module +# to be installed by syncqt. +INCLUDEPATH += ../multimedia/qtmultimediaquicktools_headers/ +DEPENDPATH += ../multimedia/qtmultimediaquicktools_headers/ + +PRIVATE_HEADERS += \ + qsgvideonode_p.h \ + qtmultimediaquickdefs_p.h + +SOURCES += \ + qsgvideonode_p.cpp + +HEADERS += $$PRIVATE_HEADERS + +DESTDIR = $$QT.multimedia.libs +target.path = $$[QT_INSTALL_LIBS] + +INSTALLS += target |