0
|
1 |
TARGET = QtOpenVG
|
|
2 |
QT += core \
|
|
3 |
gui
|
|
4 |
|
|
5 |
DEFINES+=QT_BUILD_OPENVG_LIB
|
|
6 |
|
|
7 |
contains(QT_CONFIG, shivavg) {
|
|
8 |
DEFINES += QVG_NO_DRAW_GLYPHS
|
|
9 |
DEFINES += QVG_NO_RENDER_TO_MASK
|
|
10 |
DEFINES += QVG_SCISSOR_CLIP
|
|
11 |
}
|
|
12 |
|
|
13 |
HEADERS += \
|
|
14 |
qvg.h \
|
|
15 |
qvg_p.h \
|
|
16 |
qpaintengine_vg_p.h \
|
|
17 |
qpixmapdata_vg_p.h \
|
|
18 |
qpixmapfilter_vg_p.h \
|
|
19 |
qvgcompositionhelper_p.h
|
|
20 |
SOURCES += \
|
|
21 |
qpaintengine_vg.cpp \
|
|
22 |
qpixmapdata_vg.cpp \
|
|
23 |
qpixmapfilter_vg.cpp
|
|
24 |
|
|
25 |
contains(QT_CONFIG, egl) {
|
|
26 |
HEADERS += \
|
|
27 |
qwindowsurface_vgegl_p.h \
|
|
28 |
qwindowsurface_vg_p.h
|
|
29 |
SOURCES += \
|
|
30 |
qwindowsurface_vg.cpp \
|
|
31 |
qwindowsurface_vgegl.cpp
|
|
32 |
}
|
|
33 |
|
|
34 |
include(../qbase.pri)
|
|
35 |
|
|
36 |
unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
|
|
37 |
|
|
38 |
!isEmpty(QMAKE_INCDIR_OPENVG): INCLUDEPATH += $$QMAKE_INCDIR_OPENVG
|
|
39 |
!isEmpty(QMAKE_LIBDIR_OPENVG): LIBS_PRIVATE += -L$$QMAKE_LIBDIR_OPENVG
|
|
40 |
!isEmpty(QMAKE_LIBS_OPENVG): LIBS_PRIVATE += $$QMAKE_LIBS_OPENVG
|
|
41 |
symbian:!isEmpty(QMAKE_LIBS_OPENVG): LIBS += $$QMAKE_LIBS_OPENVG
|
|
42 |
|
|
43 |
contains(QT_CONFIG, egl) {
|
|
44 |
!isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
|
|
45 |
!isEmpty(QMAKE_LIBDIR_EGL): LIBS_PRIVATE += -L$$QMAKE_LIBDIR_EGL
|
|
46 |
!isEmpty(QMAKE_LIBS_EGL): LIBS_PRIVATE += $$QMAKE_LIBS_EGL
|
|
47 |
symbian:!isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL
|
|
48 |
}
|
|
49 |
|
|
50 |
contains(QT_CONFIG, openvg_on_opengl) {
|
|
51 |
!isEmpty(QMAKE_INCDIR_OPENGL): INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
|
|
52 |
!isEmpty(QMAKE_LIBDIR_OPENGL): LIBS_PRIVATE += -L$$QMAKE_LIBDIR_OPENGL
|
|
53 |
!isEmpty(QMAKE_LIBS_OPENGL): LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL
|
|
54 |
}
|
|
55 |
|
|
56 |
INCLUDEPATH += ../3rdparty/harfbuzz/src
|