mkspecs/features/unix/opengl.prf
author William Roberts <williamr@symbian.org>
Thu, 22 Jul 2010 16:41:55 +0100
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
permissions -rw-r--r--
Catchup to latest Symbian^4

contains(QT_CONFIG, opengles1) {
    INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES1
    !isEmpty(QMAKE_LIBDIR_OPENGL_ES1):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES1
    target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES1
    else:LIBS += $$QMAKE_LIBS_OPENGL_ES1
} else:contains(QT_CONFIG, 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_QT
    else:LIBS += $$QMAKE_LIBS_OPENGL
}