From dc8e7acb08930a07c76ca700c1d70979c8a51db9 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 6 Jan 2017 09:03:56 -0500 Subject: Add a new compile-time option: NO_XINPUT This can be used to disable the usage of the xcb/xinput.h class, since some OS's seem to not have it for some reason. Note that this option will make the input device management page in lumina-config unavailable on that operating system. Example: qmake CONFIG+=NO_XINPUT --- src-qt5/core-utils/lumina-config/lumina-config.pro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src-qt5/core-utils/lumina-config/lumina-config.pro') diff --git a/src-qt5/core-utils/lumina-config/lumina-config.pro b/src-qt5/core-utils/lumina-config/lumina-config.pro index 57531e69..d690bcb3 100644 --- a/src-qt5/core-utils/lumina-config/lumina-config.pro +++ b/src-qt5/core-utils/lumina-config/lumina-config.pro @@ -15,7 +15,12 @@ include(../../core/libLumina/LDesktopUtils.pri) #includes LUtils include(../../core/libLumina/LuminaXDG.pri) include(../../core/libLumina/LuminaSingleApplication.pri) include(../../core/libLumina/LuminaThemes.pri) -include(../../core/libLumina/LInputDevice.pri) + +NO_XINPUT{ + DEFINES+=NO_XINPUT +}else{ + include(../../core/libLumina/LInputDevice.pri) +} SOURCES += main.cpp \ mainWindow.cpp \ -- cgit