diff options
author | Andy Shaw <andy.shaw@digia.com> | 2014-02-11 00:30:25 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-11 12:43:34 +0100 |
commit | 8e497a7fc6fc66f480a78dee705ada67c24ac490 (patch) | |
tree | f366bcdbea2dec00c22d9aca7974f4d58b68ba95 /src | |
parent | 8bbc4f8bc92808cea219698d61a669ce20bdf6ea (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: Ic00717b2327a1f7cf05f55bcde7a7308e36c19e9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/winextras/winextras.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/winextras/winextras.pro b/src/winextras/winextras.pro index 5b9bbe7..3f77e7d 100644 --- a/src/winextras/winextras.pro +++ b/src/winextras/winextras.pro @@ -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 \ |