src/opengl/opengl.pro
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
     9 
     9 
    10 unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
    10 unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
    11 
    11 
    12 include(../qbase.pri)
    12 include(../qbase.pri)
    13 
    13 
    14 !win32:!embedded:!mac:CONFIG	   += x11
    14 !win32:!embedded:!mac:!symbian:CONFIG	   += x11
    15 contains(QT_CONFIG, opengl):CONFIG += opengl
    15 contains(QT_CONFIG, opengl):CONFIG += opengl
    16 contains(QT_CONFIG, opengles1):CONFIG += opengles1
    16 contains(QT_CONFIG, opengles1):CONFIG += opengles1
    17 contains(QT_CONFIG, opengles2):CONFIG += opengles2
    17 contains(QT_CONFIG, opengles2):CONFIG += opengles2
    18 contains(QT_CONFIG, egl):CONFIG += egl
    18 contains(QT_CONFIG, egl):CONFIG += egl
    19 
    19 
    20 HEADERS += qgl.h \
    20 HEADERS += qgl.h \
    21 	   qgl_p.h \
    21            qgl_p.h \
    22 	   qglcolormap.h \
    22            qglcolormap.h \
    23 	   qglpixelbuffer.h \
    23            qglpixelbuffer.h \
    24            qglpixelbuffer_p.h \
    24            qglpixelbuffer_p.h \
    25 	   qglframebufferobject.h  \
    25            qglframebufferobject.h  \
    26            qglframebufferobject_p.h  \
    26            qglframebufferobject_p.h  \
    27            qglextensions_p.h \
    27            qglextensions_p.h \
    28            qglpaintdevice_p.h \
    28            qglpaintdevice_p.h \
    29            qglbuffer.h \
    29            qglbuffer.h \
    30 
    30 
    31 
    31 
    32 SOURCES	+= qgl.cpp \
    32 SOURCES	+= qgl.cpp \
    33 	   qglcolormap.cpp \
    33            qglcolormap.cpp \
    34 	   qglpixelbuffer.cpp \
    34            qglpixelbuffer.cpp \
    35 	   qglframebufferobject.cpp \
    35            qglframebufferobject.cpp \
    36            qglextensions.cpp \
    36            qglextensions.cpp \
    37            qglpaintdevice.cpp \
    37            qglpaintdevice.cpp \
    38            qglbuffer.cpp \
    38            qglbuffer.cpp \
    39 
    39 
    40 
    40 
   117     LIBS_PRIVATE += -framework AppKit -framework Carbon
   117     LIBS_PRIVATE += -framework AppKit -framework Carbon
   118 }
   118 }
   119 win32:!wince*: {
   119 win32:!wince*: {
   120     DEFINES += QT_NO_EGL
   120     DEFINES += QT_NO_EGL
   121     SOURCES += qgl_win.cpp \
   121     SOURCES += qgl_win.cpp \
   122 	       qglpixelbuffer_win.cpp
   122 	           qglpixelbuffer_win.cpp
   123 }
   123 }
   124 wince*: {
   124 wince*: {
   125     SOURCES += qgl_wince.cpp \
   125     SOURCES += qgl_wince.cpp \
   126                qglpixelbuffer_egl.cpp \
   126                qglpixelbuffer_egl.cpp \
   127                qgl_egl.cpp
   127                qgl_egl.cpp
   145     } else {
   145     } else {
   146        DEFINES *= QT_NO_FREETYPE
   146        DEFINES *= QT_NO_FREETYPE
   147     }
   147     }
   148 }
   148 }
   149 
   149 
       
   150 symbian {
       
   151     SOURCES += qgl_symbian.cpp \
       
   152                qglpixelbuffer_egl.cpp \
       
   153                qgl_egl.cpp
       
   154 
       
   155     HEADERS += qgl_egl_p.h
       
   156 
       
   157     symbian:TARGET.UID3 = 0x2002131A
       
   158 }
       
   159 
   150 INCLUDEPATH += ../3rdparty/harfbuzz/src
   160 INCLUDEPATH += ../3rdparty/harfbuzz/src