summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2014-02-11 00:24:58 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-17 19:03:38 +0100
commit391e8a7147edb1cdff6f1362ae0d3be4e7271ea7 (patch)
treec273eabd0901336fcc8e9f991d009a05480a8d1c
parentdb7f7cc5654ddec60297259bc9f86f5f777749cd (diff)
downloadqtmultimedia-old/5.2.tar.gz
Fix linking problem when built with -no-openglold/5.2
When -no-opengl was used then it was not automatically pulling in the needed Windows libraries as it was not loading opengl.prf to get them from. Change-Id: I9b73e5ee01da964a64c71b6261ff4ed98ce6f1a9 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
-rw-r--r--src/plugins/wmf/wmf.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/wmf/wmf.pro b/src/plugins/wmf/wmf.pro
index a26f319bc..b1d157a9c 100644
--- a/src/plugins/wmf/wmf.pro
+++ b/src/plugins/wmf/wmf.pro
@@ -4,6 +4,9 @@ qtHaveModule(widgets) {
QT += multimediawidgets-private
DEFINES += HAVE_WIDGETS
}
+win32:!qtHaveModule(opengl) {
+ LIBS_PRIVATE += -lgdi32 -luser32
+}
PLUGIN_TYPE=mediaservice
PLUGIN_CLASS_NAME = WMFServicePlugin