summaryrefslogtreecommitdiffstats
path: root/src/gsttools/gsttools.pro
diff options
context:
space:
mode:
authorJochen Seemann <seemann.jochen@gmail.com>2016-09-06 00:24:05 +0200
committerJochen Seemann <seemann.jochen@gmail.com>2017-06-12 16:11:52 +0000
commitab6ebd360eb27a0d502839fca07ae0e6e107cec6 (patch)
tree63069f3511f2d83a41275ecc554df8635d7d0bed /src/gsttools/gsttools.pro
parent7fdb88a86b0782e7170eefe3dfe7ab3e9c81f847 (diff)
turn QGstTools into a proper private module
This patch moves the QGstTools lib to a private Qt module and marks the needed classes and functions with Q_DECL*, to improve cross-platform abilities. It's the first step to use the GStreamer backend on macOS and Windows platform. Change-Id: Idc23c72bcccb52dd501e169e9dfdc227856787fa Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src/gsttools/gsttools.pro')
-rw-r--r--src/gsttools/gsttools.pro15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/gsttools/gsttools.pro b/src/gsttools/gsttools.pro
index edbf603e3..f5e3fd96f 100644
--- a/src/gsttools/gsttools.pro
+++ b/src/gsttools/gsttools.pro
@@ -1,7 +1,6 @@
-TEMPLATE = lib
-
-TARGET = qgsttools_p
-QPRO_PWD = $$PWD
+TARGET = QtMultimediaGstTools
+MODULE = multimediagsttools
+CONFIG += internal_module
QT = core-private multimedia-private gui-private
@@ -36,7 +35,8 @@ PRIVATE_HEADERS += \
qgstreamervideoprobecontrol_p.h \
qgstreameraudioprobecontrol_p.h \
qgstreamervideowindow_p.h \
- qgstreamervideooverlay_p.h
+ qgstreamervideooverlay_p.h \
+ qgsttools_global_p.h
SOURCES += \
qgstreamerbushelper.cpp \
@@ -101,7 +101,4 @@ qtConfig(gstreamer_app) {
HEADERS += $$PRIVATE_HEADERS
-DESTDIR = $$QT.multimedia.libs
-target.path = $$[QT_INSTALL_LIBS]
-
-INSTALLS += target
+load(qt_module)