I am trying to include windows specific headers on a cross-platform project in the following way.
#ifdef Q_OS_WIN
#include "qt_windows.h"
#include "Shellapi.h"
#endif
For some reasons, the files are not included properly.
Note: I am using mingw-gcc compiler.
I don’t think that is defined. It should be
Q_OS_WIN32orQ_WS_WIN. See Qt Global.