Skip to content

Commit 11ad8ee

Browse files
committed
Update README.md
1 parent b5d6913 commit 11ad8ee

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,44 @@ building for Linux use -lX11 | include X11/Xlib.h X11/Xutil.h
2020
building for Mac use -framework ApplicationServices | include ApplicationServices/ApplicationServices.h
2121
building for Win use User32.lib | include Windows.h
2222

23+
qmake
24+
```
25+
TEMPLATE = app
26+
CONFIG += console
27+
CONFIG -= app_bundle
28+
CONFIG -= qt
29+
CONFIG += c++11
30+
31+
SOURCES += main.cpp \
32+
xinputsimulatorimpl.cpp \
33+
xinputsimulator.cpp \
34+
xinputsimulatorimpllinux.cpp \
35+
notimplementedexception.cpp \
36+
xinputsimulatorimplmacos.cpp \
37+
xinputsimulatorimplwin.cpp
38+
39+
HEADERS += \
40+
xinputsimulator.h \
41+
xinputsimulatorimpl.h \
42+
xinputsimulatorimpllinux.h \
43+
notimplementedexception.h \
44+
xinputsimulatorimplmacos.h \
45+
xinputsimulatorimplwin.h
46+
47+
macx {
48+
# mac only
49+
LIBS += -framework ApplicationServices
50+
}
51+
unix:!macx{
52+
# linux only
53+
LIBS += -lX11
54+
}
55+
win32 {
56+
# windows only
57+
LIBS += "C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\User32.Lib"
58+
}
59+
```
60+
2361
####Status
2462
2013-07-16: Linux, Mac and Win part with following functions
2563
```cpp

0 commit comments

Comments
 (0)