summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-26 15:32:55 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-26 15:35:00 (GMT)
commita44026a3885e1505b9206a4d9a47ea21aa6d6787 (patch)
treef91d3d1b994772363e63f3923e63e445948631a7
parent454400ff604bcc3cd720ca0487ab6fd4b77d764c (diff)
downloadQt-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.pro1
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
}