Commit 8e497a7f 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: Ic00717b2327a1f7cf05f55bcde7a7308e36c19e9
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Showing with 1 addition and 0 deletions
......@@ -43,6 +43,7 @@ QMAKE_DOCS = $$PWD/doc/qtwinextras.qdocconf
DEFINES += NTDDI_VERSION=0x06010000 _WIN32_WINNT=0x0601
LIBS_PRIVATE += -lole32 -lshlwapi -lshell32
win32:!qtHaveModule(opengl):LIBS_PRIVATE += -lgdi32
OTHER_FILES += \
doc/qtwinextras.qdocconf \
......
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