8be546d107
This reverts commit a2d3b7c991
. That
commit broke -opengl es2 builds on Linux desktops (when GLX is
available).
/usr/include/GL/gl.h:162:17: error: conflicting declaration ‘typedef double GLdouble’
qopengl.h:97:17: error: ‘GLdouble’ has a previous declaration as ‘typedef GLfloat GLdouble’
Change-Id: Id5f48c05803be1a8c03eeffca139b80e9a85a0eb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
11 lines
167 B
Prolog
11 lines
167 B
Prolog
SOURCES = glxfbconfig.cpp
|
|
CONFIG += x11
|
|
INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
|
|
|
|
for(p, QMAKE_LIBDIR_OPENGL) {
|
|
exists($$p):LIBS += -L$$p
|
|
}
|
|
|
|
CONFIG -= qt
|
|
LIBS += -lGL
|