I need the WINAPI function SendInput from user32.lib for my application and the compiler complains about undefined references to \"SendInput\".
Thus, I tried to link use
I solved the problem.
I needed to define WINVER in the .pro file: "DEFINES += "WINVER=0x0500" QT seems to ignore ofer #define WINVER statements in header files.