diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-26 15:32:55 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-26 15:35:00 (GMT) |
commit | a44026a3885e1505b9206a4d9a47ea21aa6d6787 (patch) | |
tree | f91d3d1b994772363e63f3923e63e445948631a7 | |
parent | 454400ff604bcc3cd720ca0487ab6fd4b77d764c (diff) | |
download | Qt-a44026a3885e1505b9206a4d9a47ea21aa6d6787.zip Qt-a44026a3885e1505b9206a4d9a47ea21aa6d6787.tar.gz Qt-a44026a3885e1505b9206a4d9a47ea21aa6d6787.tar.bz2 |
Fix build on Windows
On unix platforms, QT_NO_EGL is defined by configure. However, this
is not defined by windows's configure.exe so add it in opengl.pro.
Reviewed-By: Brad
-rw-r--r-- | src/opengl/opengl.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/opengl.pro b/src/opengl/opengl.pro index ff42a49..9473343 100644 --- a/src/opengl/opengl.pro +++ b/src/opengl/opengl.pro @@ -116,6 +116,7 @@ mac { LIBS_PRIVATE += -framework AppKit -framework Carbon } win32:!wince*: { + DEFINES += QT_NO_EGL SOURCES += qgl_win.cpp \ qglpixelbuffer_win.cpp } |