Add noX11 flag to Linux compilations

This allows users that are not using X11 to still compile the
application.
This commit is contained in:
Vasily
2019-04-22 09:56:50 +02:00
committed by username223
parent d0a2e15dbf
commit 4ec1fbf201
4 changed files with 13 additions and 4 deletions
+8 -3
View File
@@ -54,9 +54,14 @@ win32 {
}
unix:!macx {
SOURCES += src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp
CONFIG += x11
LIBS += -lXtst
!noX11 {
SOURCES += src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp
CONFIG += x11
LIBS += -lXtst
}
else {
SOURCES += src/tabcontrollers/keyboardinput/KeyboardInputDummy.cpp
}
}
macx {