forked from MrBesen/lolautoaccept
XInputSimulator staticly linked
This commit is contained in:
parent
5164e6adfb
commit
ffd745f446
|
@ -1,3 +1,6 @@
|
|||
[submodule "thirdparty/Log"]
|
||||
path = thirdparty/Log
|
||||
url = https://git.okaestne.de/okaestne/Log.git
|
||||
[submodule "thirdparty/XInputSimulator"]
|
||||
path = thirdparty/XInputSimulator
|
||||
url = https://git.mrbesen.de/MrBesen/XInputSimulator.git
|
||||
|
|
|
@ -7,6 +7,7 @@ It works by taking a screenshot every second, analysing it using opencv and clic
|
|||
### Dependencies
|
||||
- opencv4
|
||||
- [XInputSimulator](https://github.com/a3f/XInputSimulator.git)
|
||||
- Qt5
|
||||
|
||||
### Running
|
||||
just execute it.
|
||||
|
|
|
@ -3,7 +3,7 @@ QT += core gui
|
|||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
CONFIG += c++17
|
||||
unix:LIBS += -lX11 -lXext `pkg-config opencv4 --libs` -lXInputSimulator
|
||||
unix:LIBS += thirdparty/XInputSimulator/build/libXInputSimulator.a -lX11 -lXtst -lXext -lxcb -lXau -pthread -lXdmcp -lrt `pkg-config opencv4 --libs`
|
||||
|
||||
# The following define makes your compiler emit warnings if you use
|
||||
# any Qt feature that has been marked deprecated (the exact warnings
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm -rf thirdparty/XInputSimulator/build
|
||||
mkdir -p thirdparty/XInputSimulator/build
|
||||
cd thirdparty/XInputSimulator/build/
|
||||
cmake ../XInputSimulator/
|
||||
make -j
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 0151c34bd261bc8b28cc20bc5fcf4d6447d0128d
|
Loading…
Reference in New Issue