mkspecs/features/unix/opengl.prf
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Thu, 29 Apr 2010 15:15:16 +0300
branchRCL_3
changeset 16 4b6ee5efea19
parent 3 41300fa6a67c
permissions -rw-r--r--
2010-17 9996a03743ab23f83c83c5bc7ade0f82f71b1506

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, opengles1cl) {
    INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES1CL
    !isEmpty(QMAKE_LIBDIR_OPENGL_ES1CL):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES1CL
    target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES1CL
    else:LIBS += $$QMAKE_LIBS_OPENGL_ES1CL
} 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
}