diff options
author | Andy Shaw <andy.shaw@digia.com> | 2014-02-11 00:24:58 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-17 19:03:38 +0100 |
commit | 391e8a7147edb1cdff6f1362ae0d3be4e7271ea7 (patch) | |
tree | c273eabd0901336fcc8e9f991d009a05480a8d1c | |
parent | db7f7cc5654ddec60297259bc9f86f5f777749cd (diff) |
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.pro | 3 |
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 |