Fix xcb platform linking when compiling the nativepainting code

Change-Id: I9bc435d27bf4abf1ff4cbfebb981ab701a5d17ec
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-08 17:32:02 +01:00
parent c2511b629a
commit 810c5be5be

View File

@ -141,13 +141,15 @@ extend_target(XcbQpa CONDITION QT_FEATURE_xcb_native_painting
INCLUDE_DIRECTORIES
nativepainting/
)
#
#extend_target(XcbQpa CONDITION (QT_FEATURE_xcb_native_painting) AND (QT_FEATURE_xrender)
#)
extend_target(XcbQpa CONDITION (QT_FEATURE_xcb_native_painting) AND (QT_FEATURE_xrender)
LIBRARIES
X11::Xrender
)
extend_target(XcbQpa CONDITION (QT_FEATURE_xcb_native_painting) AND (QT_FEATURE_fontconfig)
LIBRARIES
freetype
Freetype::Freetype
)
add_qt_plugin(qxcb