Commit 391e8a71 authored by Andy Shaw's avatar Andy Shaw Committed by The Qt Project
Browse files

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: default avatarYoann Lopes <yoann.lopes@digia.com>
Showing with 3 additions and 0 deletions
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment