mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-12-02 00:32:24 +08:00
13 lines
454 B
Plaintext
13 lines
454 B
Plaintext
|
qtConfig(opengles2) {
|
||
|
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
|
||
|
target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL
|
||
|
else:LIBS += $$QMAKE_LIBS_OPENGL
|
||
|
}
|
||
|
|