Merge pull request #2124 from Cacodemon345/newqt

qt: X11 Xinput2 mouse motion backend
This commit is contained in:
Miran Grča
2022-02-14 21:41:34 +01:00
committed by GitHub
6 changed files with 201 additions and 10 deletions

View File

@@ -254,7 +254,8 @@ endif()
if (UNIX AND NOT APPLE)
find_package(X11 REQUIRED)
target_link_libraries(ui PRIVATE X11::X11)
target_link_libraries(ui PRIVATE X11::X11 X11::Xi)
target_sources(ui PRIVATE xinput2_mouse.cpp)
find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBEVDEV IMPORTED_TARGET libevdev)
if (LIBEVDEV_FOUND)