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/pages/pages.pri | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src-qt5/core-utils/lumina-config/pages/pages.pri') diff --git a/src-qt5/core-utils/lumina-config/pages/pages.pri b/src-qt5/core-utils/lumina-config/pages/pages.pri index ae306a80..0ee5d561 100644 --- a/src-qt5/core-utils/lumina-config/pages/pages.pri +++ b/src-qt5/core-utils/lumina-config/pages/pages.pri @@ -13,8 +13,7 @@ HEADERS += $${PWD}/getPage.h \ $${PWD}/page_interface_panels.h \ $${PWD}/page_session_locale.h \ $${PWD}/page_session_options.h \ - $${PWD}/page_compton.h \ - $${PWD}/page_mouse.h + $${PWD}/page_compton.h # $${PWD}/page_bluetooth_trueos.h # $${PWD}/page_mouse_trueos.h @@ -31,8 +30,7 @@ SOURCES += $${PWD}/page_main.cpp \ $${PWD}/page_interface_panels.cpp \ $${PWD}/page_session_locale.cpp \ $${PWD}/page_session_options.cpp \ - $${PWD}/page_compton.cpp \ - $${PWD}/page_mouse.cpp + $${PWD}/page_compton.cpp # $${PWD}/page_bluetooth_trueos.cpp # $${PWD}/page_mouse_trueos.cpp @@ -50,8 +48,12 @@ FORMS += $${PWD}/page_main.ui \ $${PWD}/page_interface_panels.ui \ $${PWD}/page_session_locale.ui \ $${PWD}/page_session_options.ui \ - $${PWD}/page_compton.ui \ - $${PWD}/page_mouse.ui + $${PWD}/page_compton.ui # $${PWD}/page_bluetooth_trueos.ui # $${PWD}/page_mouse_trueos.ui +!NO_XINPUT{ + HEADERS += $${PWD}/page_mouse.h + SOURCES += $${PWD}/page_mouse.cpp + FORMS += $${PWD}/page_mouse.ui +} -- cgit