${CMAKE_CURRENT_SOURCE_DIR}/text/qstatictext_p.h
${CMAKE_CURRENT_SOURCE_DIR}/text/qstatictext.h
${CMAKE_CURRENT_SOURCE_DIR}/text/qharfbuzz_p.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/text/qfontengine_ft_p.h
${CMAKE_CURRENT_SOURCE_DIR}/text/qfontengine_x11_p.h
${CMAKE_CURRENT_SOURCE_DIR}/text/qfontdatabase_x11_p.h
${CMAKE_CURRENT_SOURCE_DIR}/text/qunicodetables_p.h
${CMAKE_CURRENT_SOURCE_DIR}/styles/qstyle.qrc
${CMAKE_CURRENT_SOURCE_DIR}/text/qfont.cpp
${CMAKE_CURRENT_SOURCE_DIR}/text/qfontengine.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/text/qfontengine_ft.cpp
${CMAKE_CURRENT_SOURCE_DIR}/text/qfontsubset.cpp
${CMAKE_CURRENT_SOURCE_DIR}/text/qfontmetrics.cpp
${CMAKE_CURRENT_SOURCE_DIR}/text/qfontdatabase.cpp
endif()
if(WITH_FONTCONFIG AND FONTCONFIG_FOUND)
- set(GUI_HEADERS
- ${GUI_HEADERS}
- ${CMAKE_CURRENT_SOURCE_DIR}/text/qfontengine_ft_p.h
- )
- set(GUI_SOURCES
- ${GUI_SOURCES}
- ${CMAKE_CURRENT_SOURCE_DIR}/text/qfontengine_ft.cpp
- )
-
set(EXTRA_GUI_LIBS
${EXTRA_GUI_LIBS}
${FONTCONFIG_LIBRARIES}
// font loader
// --------------------------------------------------------------------------------------
+#ifndef QT_NO_FONTCONFIG
static const char *styleHint(const QFontDef &request)
{
const char *stylehint = 0;
return stylehint;
}
-#ifndef QT_NO_FONTCONFIG
static void qt_addPatternProps(FcPattern *pattern, int screen, QUnicodeTables::Script script, const QFontDef &request)
{
double size_value = qMax(qreal(1.), request.pixelSize);
#ifndef QT_NO_FONTCONFIG
if (qt_x11Data->has_fontconfig) {
fe = loadFc(d, static_cast<QUnicodeTables::Script>(script), req);
-#endif
}
+#endif
if (!fe) {
fe = new QFontEngineBox(req.pixelSize);
fe->fontDef = QFontDef();