From 272be4554fc3a75bf4a243ce851fdc3fe86839c2 Mon Sep 17 00:00:00 2001 From: Jonas Rabbe Date: Wed, 8 Feb 2012 14:54:29 +1000 Subject: [PATCH] Fixed possible dependency problem in the qmake structure If gstreamer is present, then the gstreamer plugin (and hence the plugins sub directory) should depend on the gst tools library. Change-Id: I6012df02d14731107fc0656089aa27ae61f0ef71 Reviewed-by: Dmytro Poplavskiy --- src/src.pro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/src.pro b/src/src.pro index 8a553710..4b5b3734 100644 --- a/src/src.pro +++ b/src/src.pro @@ -23,7 +23,13 @@ SUBDIRS += \ src_imports # Optional bits -contains(config_test_gstreamer, yes):SUBDIRS += src_qgsttools +contains(config_test_gstreamer, yes) { + SUBDIRS += src_qgsttools + + # If gstreamer is present, then plugins should depend on it + src_plugins.depends += src_qgsttools +} + !isEmpty(QT.widgets.name) { SUBDIRS += src_qtmmwidgets