6 QT *= platformsupport-private
8 INCLUDEPATH += ../../../3rdparty/harfbuzz/src
9 QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
11 # Note: OpenGL32 must precede Gdi32 as it overwrites some functions.
13 !wince*:LIBS *= -lgdi32 -luser32 -lwinspool -limm32 -lwinmm -loleaut32
15 contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles2):LIBS *= -lopengl32
17 win32-g++*: LIBS *= -luuid
18 # For the dialog helpers:
19 !wince*:LIBS *= -lshlwapi -lshell32
20 !wince*:LIBS *= -ladvapi32
22 DEFINES *= QT_NO_CAST_FROM_ASCII
24 contains(QT_CONFIG, directwrite) {
26 SOURCES += qwindowsfontenginedirectwrite.cpp
27 HEADERS += qwindowsfontenginedirectwrite.h
29 DEFINES *= QT_NO_DIRECTWRITE
34 qwindowsnativeimage.cpp \
36 qwindowsintegration.cpp \
38 qwindowsbackingstore.cpp \
40 qwindowskeymapper.cpp \
41 qwindowsfontengine.cpp \
42 qwindowsfontdatabase.cpp \
43 qwindowsmousehandler.cpp \
44 qwindowsguieventdispatcher.cpp \
48 qwindowsinternalmimedata.cpp \
50 qwindowsinputcontext.cpp \
52 qwindowsdialoghelpers.cpp \
56 qwindowsnativeimage.h \
58 qwindowsintegration.h \
60 qwindowsbackingstore.h \
63 qwindowsfontengine.h \
64 qwindowsfontdatabase.h \
65 qwindowsmousehandler.h \
66 qwindowsguieventdispatcher.h \
68 qtwindows_additional.h \
72 qwindowsinternalmimedata.h \
75 qwindowsinputcontext.h \
77 qwindowsdialoghelpers.h \
79 qplatformfunctions_wince.h
81 contains(QT_CONFIG, opengles2) {
82 SOURCES += qwindowseglcontext.cpp
83 HEADERS += qwindowseglcontext.h
85 contains(QT_CONFIG, opengl) {
86 SOURCES += qwindowsglcontext.cpp
87 HEADERS += qwindowsglcontext.h
91 !contains( DEFINES, QT_NO_CLIPBOARD ) {
92 SOURCES += qwindowsclipboard.cpp
93 HEADERS += qwindowsclipboard.h
96 # Enable access to HB_Face in harfbuzz includes included by qfontengine_p.h.
97 DEFINES *= QT_COMPILES_IN_HARFBUZZ
99 contains(QT_CONFIG, freetype) {
100 DEFINES *= QT_NO_FONTCONFIG
101 DEFINES *= QT_COMPILES_IN_HARFBUZZ
102 QT_FREETYPE_DIR = $$QT_SOURCE_TREE/src/3rdparty/freetype
105 qwindowsfontdatabase_ft.h
107 qwindowsfontdatabase_ft.cpp \
108 $$QT_FREETYPE_DIR/src/base/ftbase.c \
109 $$QT_FREETYPE_DIR/src/base/ftbbox.c \
110 $$QT_FREETYPE_DIR/src/base/ftdebug.c \
111 $$QT_FREETYPE_DIR/src/base/ftglyph.c \
112 $$QT_FREETYPE_DIR/src/base/ftinit.c \
113 $$QT_FREETYPE_DIR/src/base/ftmm.c \
114 $$QT_FREETYPE_DIR/src/base/fttype1.c \
115 $$QT_FREETYPE_DIR/src/base/ftsynth.c \
116 $$QT_FREETYPE_DIR/src/base/ftbitmap.c \
117 $$QT_FREETYPE_DIR/src/bdf/bdf.c \
118 $$QT_FREETYPE_DIR/src/cache/ftcache.c \
119 $$QT_FREETYPE_DIR/src/cff/cff.c \
120 $$QT_FREETYPE_DIR/src/cid/type1cid.c \
121 $$QT_FREETYPE_DIR/src/gzip/ftgzip.c \
122 $$QT_FREETYPE_DIR/src/pcf/pcf.c \
123 $$QT_FREETYPE_DIR/src/pfr/pfr.c \
124 $$QT_FREETYPE_DIR/src/psaux/psaux.c \
125 $$QT_FREETYPE_DIR/src/pshinter/pshinter.c \
126 $$QT_FREETYPE_DIR/src/psnames/psmodule.c \
127 $$QT_FREETYPE_DIR/src/raster/raster.c \
128 $$QT_FREETYPE_DIR/src/sfnt/sfnt.c \
129 $$QT_FREETYPE_DIR/src/smooth/smooth.c \
130 $$QT_FREETYPE_DIR/src/truetype/truetype.c \
131 $$QT_FREETYPE_DIR/src/type1/type1.c \
132 $$QT_FREETYPE_DIR/src/type42/type42.c \
133 $$QT_FREETYPE_DIR/src/winfonts/winfnt.c \
134 $$QT_FREETYPE_DIR/src/lzw/ftlzw.c\
135 $$QT_FREETYPE_DIR/src/otvalid/otvalid.c\
136 $$QT_FREETYPE_DIR/src/otvalid/otvbase.c\
137 $$QT_FREETYPE_DIR/src/otvalid/otvgdef.c\
138 $$QT_FREETYPE_DIR/src/otvalid/otvjstf.c\
139 $$QT_FREETYPE_DIR/src/otvalid/otvcommn.c\
140 $$QT_FREETYPE_DIR/src/otvalid/otvgpos.c\
141 $$QT_FREETYPE_DIR/src/otvalid/otvgsub.c\
142 $$QT_FREETYPE_DIR/src/otvalid/otvmod.c\
143 $$QT_FREETYPE_DIR/src/autofit/afangles.c\
144 $$QT_FREETYPE_DIR/src/autofit/afglobal.c\
145 $$QT_FREETYPE_DIR/src/autofit/aflatin.c\
146 $$QT_FREETYPE_DIR/src/autofit/afmodule.c\
147 $$QT_FREETYPE_DIR/src/autofit/afdummy.c\
148 $$QT_FREETYPE_DIR/src/autofit/afhints.c\
149 $$QT_FREETYPE_DIR/src/autofit/afloader.c\
150 $$QT_FREETYPE_DIR/src/autofit/autofit.c
152 SOURCES += $$QT_FREETYPE_DIR/src/base/ftsystem.c
156 $$QT_FREETYPE_DIR/src \
157 $$QT_FREETYPE_DIR/include
159 DEFINES += FT2_BUILD_LIBRARY
160 contains(QT_CONFIG, system-zlib) {
161 DEFINES += FT_CONFIG_OPTION_SYSTEM_ZLIB
165 OTHER_FILES += windows.json
167 contains(QT_CONFIG, accessibility):include(accessible/accessible.pri)
169 target.path += $$[QT_INSTALL_PLUGINS]/platforms