I\'m trying to compile a simple helloworld-like non-Qt C++ application using te WinAPI in QtCreator. Here\'s the code:
#include
int main()
Additional to Frank's answer (which helped me very much, thanks for that!) I would like to add that this is only required vor MSVC, MinGW doesn't seem to need that line. Which was for me the most confusing part, I first thought I had problems with the msvc toolchain.
My inclusion now looks like this to reflect this fact:
msvc: LIBS += -luser32