From 32326a4b3b8234f56bb1c5f47b5bdd6c8fec7917 Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Mon, 27 Nov 2017 12:46:47 -0800 Subject: macx-clang: Opt-in xcb QPA support with XQuartz Enable xcb QPA plugin when XQuartz is available. This is done in a single build, alongside the Cocoa version. We delegate part of the configuration stage to pkg-config, so this becomes a requirement. Ensure that PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig is in your environment, or pkg-config is properly set up. Tested with the following configure options: configure \ -pkg-config \ -fontconfig -system-freetype \ -system-xcb -xkb -no-opengl \ -qt-xkbcommon -qt-xkbcommon-x11 Change-Id: I2eb5a0491172368afc4c629c540cbef08580348d Reviewed-by: Jake Petroules Reviewed-by: Oswald Buddenhagen --- src/platformsupport/themes/themes.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platformsupport/themes') diff --git a/src/platformsupport/themes/themes.pro b/src/platformsupport/themes/themes.pro index aeed4d2f47..44f94fafc8 100644 --- a/src/platformsupport/themes/themes.pro +++ b/src/platformsupport/themes/themes.pro @@ -6,7 +6,7 @@ CONFIG += static internal_module DEFINES += QT_NO_CAST_FROM_ASCII -unix:!darwin: \ +if(unix:!darwin)|qtConfig(xcb): \ include($$PWD/genericunix/genericunix.pri) HEADERS += \ -- cgit v1.2.3