Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/opengl/opengl.pro

    r2 r561  
    1414contains(QT_CONFIG, opengl):CONFIG += opengl
    1515contains(QT_CONFIG, opengles1):CONFIG += opengles1
     16contains(QT_CONFIG, opengles1cl):CONFIG += opengles1cl
    1617contains(QT_CONFIG, opengles2):CONFIG += opengles2
    17 
    18 !contains(QT_CONFIG, opengles2) {
    19     HEADERS += qgraphicssystem_gl_p.h qwindowsurface_gl_p.h qpixmapdata_gl_p.h
    20     SOURCES += qgraphicssystem_gl.cpp qwindowsurface_gl.cpp qpixmapdata_gl.cpp
    21 }
     18contains(QT_CONFIG, egl):CONFIG += egl
    2219
    2320HEADERS += qgl.h \
     
    2522           qglcolormap.h \
    2623           qglpixelbuffer.h \
     24           qglpixelbuffer_p.h \
    2725           qglframebufferobject.h  \
     26           qglframebufferobject_p.h  \
     27           qglextensions_p.h \
     28           qglpaintdevice_p.h \
     29
    2830
    2931SOURCES += qgl.cpp \
     
    3234           qglframebufferobject.cpp \
    3335           qglextensions.cpp \
     36           qglpaintdevice.cpp \
     37
    3438
    3539!contains(QT_CONFIG, opengles2) {
    36     HEADERS += qpaintengine_opengl_p.h qglpixmapfilter_p.h
    37     SOURCES += qpaintengine_opengl.cpp qglpixmapfilter.cpp
     40    HEADERS += qpaintengine_opengl_p.h
     41    SOURCES += qpaintengine_opengl.cpp
    3842}
    3943
    40 contains(QT_CONFIG, opengles2) {
    41     SOURCES +=  gl2paintengineex/qglgradientcache.cpp \
    42                 gl2paintengineex/qglpexshadermanager.cpp \
    43                 gl2paintengineex/qglshader.cpp \
     44!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles1cl) {
     45    HEADERS +=  qglshaderprogram.h \
     46                qglpixmapfilter_p.h  \
     47                qgraphicsshadereffect_p.h \
     48                qgraphicssystem_gl_p.h \
     49                qwindowsurface_gl_p.h \
     50                qpixmapdata_gl_p.h \
     51                gl2paintengineex/qglgradientcache_p.h \
     52                gl2paintengineex/qglengineshadermanager_p.h \
     53                gl2paintengineex/qgl2pexvertexarray_p.h \
     54                gl2paintengineex/qpaintengineex_opengl2_p.h \
     55                gl2paintengineex/qglengineshadersource_p.h \
     56                gl2paintengineex/qglcustomshaderstage_p.h \
     57                gl2paintengineex/qtriangulatingstroker_p.h
     58
     59    SOURCES +=  qglshaderprogram.cpp \
     60                qglpixmapfilter.cpp \
     61                qgraphicsshadereffect.cpp \
     62                qgraphicssystem_gl.cpp \
     63                qwindowsurface_gl.cpp \
     64                qpixmapdata_gl.cpp \
     65                gl2paintengineex/qglgradientcache.cpp \
     66                gl2paintengineex/qglengineshadermanager.cpp \
    4467                gl2paintengineex/qgl2pexvertexarray.cpp \
    45                 gl2paintengineex/qpaintengineex_opengl2.cpp
     68                gl2paintengineex/qpaintengineex_opengl2.cpp \
     69                gl2paintengineex/qglcustomshaderstage.cpp \
     70                gl2paintengineex/qtriangulatingstroker.cpp
    4671
    47     HEADERS +=  gl2paintengineex/qglgradientcache_p.h \
    48                 gl2paintengineex/qglpexshadermanager_p.h \
    49                 gl2paintengineex/qglshader_p.h \
    50                 gl2paintengineex/qgl2pexvertexarray_p.h \
    51                 gl2paintengineex/qpaintengineex_opengl2_p.h
    5272}
    53 
    5473
    5574x11 {
     
    5877                    qglpixelbuffer_egl.cpp \
    5978                    qgl_egl.cpp \
    60                     qegl.cpp \
    61                     qegl_x11egl.cpp
     79                    qpixmapdata_x11gl_egl.cpp \
     80                    qwindowsurface_x11gl.cpp
    6281
    63         HEADERS +=  qegl_p.h \
    64                     qgl_egl_p.h
     82        HEADERS +=  qgl_egl_p.h \
     83                    qpixmapdata_x11gl_p.h \
     84                    qwindowsurface_x11gl_p.h
    6585
    6686    } else {
     
    7090
    7191    contains(QT_CONFIG, fontconfig) {
     92        contains(QT_CONFIG, system-freetype) {
     93            embedded:CONFIG += opentype
     94            # pull in the proper freetype2 include directory
    7295            include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri)
     96            LIBS_PRIVATE += -lfreetype
     97        } else {
     98            ### Note: how does this compile with a non-system freetype?
     99            # This probably does not compile
     100        }
    73101    } else {
    74102        DEFINES *= QT_NO_FREETYPE
    75103    }
     104
     105    LIBS_PRIVATE += $$QMAKE_LIBS_DYNLOAD
    76106}
    77107
     
    79109    OBJECTIVE_SOURCES += qgl_mac.mm \
    80110                         qglpixelbuffer_mac.mm
    81     LIBS += -framework AppKit
     111    LIBS_PRIVATE += -framework AppKit -framework Carbon
    82112}
    83113win32:!wince*: {
     
    88118    SOURCES += qgl_wince.cpp \
    89119               qglpixelbuffer_egl.cpp \
    90                qgl_egl.cpp \
    91                qegl.cpp \
    92                qegl_wince.cpp
     120               qgl_egl.cpp
    93121
    94122    HEADERS += qgl_cl_p.h \
    95123               qgl_egl_p.h \
    96                qegl_p.h
    97124}
    98125
    99126embedded {
    100127    SOURCES += qgl_qws.cpp \
    101                qglpaintdevice_qws.cpp \
    102128               qglpixelbuffer_egl.cpp \
    103129               qglscreen_qws.cpp \
    104130               qglwindowsurface_qws.cpp \
    105                qegl.cpp \
    106                qegl_qws.cpp \
    107131               qgl_egl.cpp
    108132
    109     HEADERS += qglpaintdevice_qws_p.h \
    110                qglscreen_qws.h \
     133    HEADERS += qglscreen_qws.h \
    111134               qglwindowsurface_qws_p.h \
    112                qgl_egl_p.h \
    113                qegl_p.h
     135               qgl_egl_p.h
    114136
    115137    contains(QT_CONFIG, fontconfig) {
     
    121143
    122144INCLUDEPATH += ../3rdparty/harfbuzz/src
    123 
    124 wince*: {
    125     contains(QT_CONFIG,opengles1) {
    126         QMAKE_LIBS += "libGLES_CM.lib"
    127     }
    128     contains(QT_CONFIG,opengles1cl) {
    129         QMAKE_LIBS += "libGLES_CL.lib"
    130     }
    131     contains(QT_CONFIG,opengles2) {
    132         QMAKE_LIBS += "libGLESv2.lib"
    133     }
    134 
    135 } else {
    136     QMAKE_LIBS += $$QMAKE_LIBS_OPENGL
    137 }
Note: See TracChangeset for help on using the changeset viewer.