|
|
2011-04-16
, 09:51
|
|
Posts: 235 |
Thanked: 339 times |
Joined on Nov 2010
|
#2
|
CONFIG += link_pkgconfig
PKGCONFIG += x11
| The Following User Says Thank You to jstokes For This Useful Post: | ||
The code I found is the following:
int delta_x = 500, delta_y = 160; Display *display = XOpenDisplay(0); Window root = DefaultRootWindow(display); XWarpPointer(display, None, root, 0, 0, 0, 0, delta_x, delta_y); XCloseDisplay(display);So all I need now is to add the -lX11. Here is my question, how do I add it?