2014-03-03 20:20:30 +00:00
|
|
|
contains(QT_CONFIG, opengles2) {
|
2011-04-27 10:05:43 +00:00
|
|
|
INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2
|
|
|
|
!isEmpty(QMAKE_LIBDIR_OPENGL_ES2):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES2
|
|
|
|
target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES2
|
|
|
|
else:LIBS += $$QMAKE_LIBS_OPENGL_ES2
|
|
|
|
} else {
|
|
|
|
INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
|
|
|
|
!isEmpty(QMAKE_LIBDIR_OPENGL):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL
|
2013-01-22 20:00:37 +00:00
|
|
|
target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL
|
2011-04-27 10:05:43 +00:00
|
|
|
else:LIBS += $$QMAKE_LIBS_OPENGL
|
|
|
|
}
|
|
|
|
|