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 <yoann.lopes@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
db7f7cc565
commit
391e8a7147
@@ -4,6 +4,9 @@ qtHaveModule(widgets) {
|
|||||||
QT += multimediawidgets-private
|
QT += multimediawidgets-private
|
||||||
DEFINES += HAVE_WIDGETS
|
DEFINES += HAVE_WIDGETS
|
||||||
}
|
}
|
||||||
|
win32:!qtHaveModule(opengl) {
|
||||||
|
LIBS_PRIVATE += -lgdi32 -luser32
|
||||||
|
}
|
||||||
|
|
||||||
PLUGIN_TYPE=mediaservice
|
PLUGIN_TYPE=mediaservice
|
||||||
PLUGIN_CLASS_NAME = WMFServicePlugin
|
PLUGIN_CLASS_NAME = WMFServicePlugin
|
||||||
|
|||||||
Reference in New Issue
Block a user