From: Andy Shaw Date: Mon, 10 Feb 2014 23:24:58 +0000 (+0100) Subject: Fix linking problem when built with -no-opengl X-Git-Tag: upstream/5.2.90+alpha~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=391e8a7147edb1cdff6f1362ae0d3be4e7271ea7;p=platform%2Fupstream%2Fqtmultimedia.git Fix linking problem when built with -no-opengl 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 --- diff --git a/src/plugins/wmf/wmf.pro b/src/plugins/wmf/wmf.pro index a26f319..b1d157a 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