summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-08 17:32:02 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-11 09:28:05 +0000
commit810c5be5be78a4e1960483c3f10c18df0e57367c (patch)
treedeac9323579c4e521b1e2fe876ef05e8ad219dea /src/plugins/platforms
parentc2511b629a8a90a63291aafc10bcf8d525dbcd37 (diff)
Fix xcb platform linking when compiling the nativepainting code
Change-Id: I9bc435d27bf4abf1ff4cbfebb981ab701a5d17ec Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/xcb/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/platforms/xcb/CMakeLists.txt b/src/plugins/platforms/xcb/CMakeLists.txt
index 5540822875..d0ec55c05b 100644
--- a/src/plugins/platforms/xcb/CMakeLists.txt
+++ b/src/plugins/platforms/xcb/CMakeLists.txt
@@ -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