File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,44 @@ building for Linux use -lX11 | include X11/Xlib.h X11/Xutil.h
20
20
building for Mac use -framework ApplicationServices | include ApplicationServices/ApplicationServices.h
21
21
building for Win use User32.lib | include Windows.h
22
22
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
+
23
61
####Status
24
62
2013-07-16: Linux, Mac and Win part with following functions
25
63
``` cpp
You can’t perform that action at this time.
0 commit comments