qt5base-lts/config.tests/x11/opengl/opengl.pro
Kai Koehne 278152fffd Replace win32-g++ with mingw scope
Commit 773dd01 introduced a general mingw platform scope, which
is cleaner and more flexible than matching the spec name.

Change-Id: Ie3a9cb791a83f7c8a51bc4e23069190c452ab521
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-01-17 12:08:24 +01:00

12 lines
192 B
Prolog

SOURCES = opengl.cpp
CONFIG += x11
INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
for(p, QMAKE_LIBDIR_OPENGL) {
exists($$p):LIBS += -L$$p
}
CONFIG -= qt
mingw:LIBS += -lopengl32
else:LIBS += -lGL