rely on transitive library dependencies for freetype/fontconfig
so far, we have been delaying the linking, because we didn't want to make the monolithic platformsupport module pull in spurious dependencies. however, now that the module was split, there is no need to play such games any more. a nice effect of this is that the hideous qpa/*unixfontdatabase.prf files disappear, and finally freetype_dependency.pri also becomes trivial and is thus inlined. Change-Id: I255376d592625542310a31222eb6ac965943df99 Reviewed-by: Jake Petroules <jake.petroules@qt.io>bb10
parent
135fcd5992
commit
f25afef61d
|
|
@ -1,3 +0,0 @@
|
|||
qtConfig(system-freetype) {
|
||||
QMAKE_USE += freetype/linkonly
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
CONFIG += qpa/basicunixfontdatabase
|
||||
qtConfig(fontconfig) {
|
||||
QMAKE_USE += fontconfig/linkonly
|
||||
}
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
qtConfig(system-freetype) {
|
||||
QMAKE_USE += freetype/nolink
|
||||
} else: qtConfig(freetype) {
|
||||
QMAKE_USE += freetype
|
||||
}
|
||||
|
|
@ -6,4 +6,4 @@ SOURCES += \
|
|||
$$PWD/qbasicfontdatabase.cpp \
|
||||
$$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp
|
||||
|
||||
include($$QT_SOURCE_TREE/src/3rdparty/freetype_dependency.pri)
|
||||
QMAKE_USE += freetype
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ HEADERS += $$PWD/qfontconfigdatabase_p.h \
|
|||
SOURCES += $$PWD/qfontconfigdatabase.cpp \
|
||||
$$PWD/qfontenginemultifontconfig.cpp
|
||||
|
||||
QMAKE_USE += fontconfig/nolink
|
||||
QMAKE_USE += fontconfig
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ darwin:!if(watchos:CONFIG(simulator, simulator|device)) {
|
|||
}
|
||||
|
||||
unix {
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
include($$PWD/genericunix/genericunix.pri)
|
||||
qtConfig(fontconfig) {
|
||||
include($$PWD/fontconfig/fontconfig.pri)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ HEADERS += $$PWD/qcoretextfontdatabase_p.h $$PWD/qfontengine_coretext_p.h
|
|||
OBJECTIVE_SOURCES += $$PWD/qfontengine_coretext.mm $$PWD/qcoretextfontdatabase.mm
|
||||
|
||||
qtConfig(freetype) {
|
||||
include($$QT_SOURCE_TREE/src/3rdparty/freetype_dependency.pri)
|
||||
QMAKE_USE += freetype
|
||||
HEADERS += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft_p.h
|
||||
SOURCES += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@ QT += \
|
|||
eventdispatcher_support-private accessibility_support-private \
|
||||
fontdatabase_support-private egl_support-private
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
OTHER_FILES += $$PWD/android.json
|
||||
|
||||
INCLUDEPATH += \
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@ qtHaveModule(input_support-private): \
|
|||
SOURCES = main.cpp qbsdfbintegration.cpp qbsdfbscreen.cpp
|
||||
HEADERS = qbsdfbintegration.h qbsdfbscreen.h
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
OTHER_FILES += bsdfb.json
|
||||
|
||||
PLUGIN_TYPE = platforms
|
||||
|
|
|
|||
|
|
@ -44,9 +44,6 @@ qtConfig(directfb_egl) {
|
|||
SOURCES += qdirectfbeglhooks_stub.cpp
|
||||
}
|
||||
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
OTHER_FILES += directfb.json
|
||||
|
||||
PLUGIN_TYPE = platforms
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
|
|||
DEFINES += EGLFS_PREFERRED_PLUGIN=$$EGLFS_DEVICE_INTEGRATION
|
||||
}
|
||||
|
||||
CONFIG += egl qpa/genericunixfontdatabase
|
||||
CONFIG += egl
|
||||
|
||||
# Prevent gold linker from crashing.
|
||||
# This started happening when QtPlatformSupport was modularized.
|
||||
|
|
|
|||
|
|
@ -16,8 +16,6 @@ HEADERS = \
|
|||
qintegrityfbscreen.h \
|
||||
qintegrityhidmanager.h
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
OTHER_FILES += integrity.json
|
||||
|
||||
PLUGIN_TYPE = platforms
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ qtHaveModule(input_support-private): \
|
|||
SOURCES = main.cpp qlinuxfbintegration.cpp qlinuxfbscreen.cpp
|
||||
HEADERS = qlinuxfbintegration.h qlinuxfbscreen.h
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
OTHER_FILES += linuxfb.json
|
||||
|
||||
PLUGIN_TYPE = platforms
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@ HEADERS = qminimalintegration.h \
|
|||
|
||||
OTHER_FILES += minimal.json
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
PLUGIN_TYPE = platforms
|
||||
PLUGIN_CLASS_NAME = QMinimalIntegrationPlugin
|
||||
!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = -
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ HEADERS = qminimaleglintegration.h \
|
|||
qminimaleglbackingstore.h \
|
||||
qminimaleglscreen.h
|
||||
|
||||
CONFIG += egl qpa/genericunixfontdatabase
|
||||
CONFIG += egl
|
||||
|
||||
OTHER_FILES += \
|
||||
minimalegl.json
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@ QT += \
|
|||
theme_support-private eventdispatcher_support-private \
|
||||
fontdatabase_support-private egl_support-private
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
DEFINES += MESA_EGL_NO_X11_HEADERS
|
||||
# CONFIG += c++11 # only enables C++0x
|
||||
QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Werror -Wall
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@ QT += \
|
|||
core-private gui-private \
|
||||
eventdispatcher_support-private fontdatabase_support-private
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
HEADERS += \
|
||||
qopenwfddevice.h \
|
||||
qopenwfdintegration.h \
|
||||
|
|
|
|||
|
|
@ -28,6 +28,4 @@ HEADERS = \
|
|||
qvnc_p.h \
|
||||
qvncclient.h
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
OTHER_FILES += vnc.json
|
||||
|
|
|
|||
|
|
@ -18,8 +18,6 @@ qtConfig(xcb-sm) {
|
|||
DEFINES += XCB_USE_SM
|
||||
}
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
!qtConfig(system-xcb) {
|
||||
DEFINES += XCB_USE_RENDER
|
||||
QMAKE_USE += xcb-static xcb
|
||||
|
|
|
|||
|
|
@ -70,8 +70,6 @@ qtConfig(xcb-sm) {
|
|||
|
||||
include(gl_integrations/gl_integrations.pri)
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
!qtConfig(system-xcb) {
|
||||
DEFINES += XCB_USE_RENDER
|
||||
QMAKE_USE += xcb-static xcb
|
||||
|
|
|
|||
Loading…
Reference in New Issue