src/gui/egl/egl.pri
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 23 89e065397ea6
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
       
     1 CONFIG += egl
       
     2 
     1 HEADERS += \
     3 HEADERS += \
     2     egl/qegl_p.h \
     4     egl/qegl_p.h \
     3     egl/qeglproperties_p.h
     5     egl/qeglproperties_p.h
     4 
     6 
     5 SOURCES += \
     7 SOURCES += \
     6     egl/qegl.cpp \
     8     egl/qegl.cpp \
     7     egl/qeglproperties.cpp
     9     egl/qeglproperties.cpp
     8 
    10 
     9 contains(QT_CONFIG, wince*): SOURCES += egl/qegl_wince.cpp
    11 wince*: SOURCES += egl/qegl_wince.cpp
    10 
    12 
    11 unix {
    13 unix {
    12     embedded {
    14     embedded {
    13         SOURCES += egl/qegl_qws.cpp
    15         SOURCES += egl/qegl_qws.cpp
    14     } else {
    16     } else {
    17         } else {
    19         } else {
    18             SOURCES += egl/qegl_x11.cpp
    20             SOURCES += egl/qegl_x11.cpp
    19         }
    21         }
    20     }
    22     }
    21 }
    23 }
    22 
       
    23 for(p, QMAKE_LIBDIR_EGL) {
       
    24     exists($$p):LIBS_PRIVATE += -L$$p
       
    25 }
       
    26 
       
    27 !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
       
    28 !isEmpty(QMAKE_LIBS_EGL): LIBS_PRIVATE += $$QMAKE_LIBS_EGL
       
    29 !isEmpty(QMAKE_LFLAGS_EGL): LIBS += $$QMAKE_LFLAGS_EGL