These files are only built into QtPlatformSupport, so the Q_GUI_EXPORT
macro is now wrong. Remove it.
Additionally, since these files are built into QtPlatformSupport, the
windows platform plugin does not need to build them again.
To-Do: move the files to src/platformsupport/fontdatabases
Change-Id: I9d69b97ca25ee52ab627cfa633f43b277acc5e05
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
return glyph_data.value(GlyphAndSubPixelPosition(index, subPixelPosition));
}
-extern Q_GUI_EXPORT FT_Library qt_getFreetype();
+extern FT_Library qt_getFreetype();
QT_END_NAMESPACE
SOURCES += text/qfontenginedirectwrite.cpp
}
-unix:x11 {
- HEADERS += \
- text/qfontengine_x11_p.h \
- text/qfontdatabase_x11.cpp \
- text/qfontengine_ft_p.h
- SOURCES += \
- text/qfont_x11.cpp \
- text/qfontengine_x11.cpp \
- text/qfontengine_ft.cpp \
- text/qrawfont_ft.cpp
-}
-
SOURCES += \
text/qfont_qpa.cpp \
text/qfontengine_qpa.cpp \
QT_FREETYPE_DIR = $$QT_SOURCE_TREE/src/3rdparty/freetype
HEADERS += \
- qwindowsfontdatabase_ft.h \
- $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft_p.h
+ qwindowsfontdatabase_ft.h
SOURCES += \
qwindowsfontdatabase_ft.cpp \
- $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp \
$$QT_FREETYPE_DIR/src/base/ftbase.c \
$$QT_FREETYPE_DIR/src/base/ftbbox.c \
$$QT_FREETYPE_DIR/src/base/ftdebug.c \