I have a header file viz., customTypes.h and I need to force include like in Visual Studio.
In Visual Studio there is a option in settings, called "Force Include" where we select the file, which does this to to the compiler settings -
Qt Code:
  1. /FI"customTypes.h"
To copy to clipboard, switch view to plain text mode 

Now if I'm using that header file from the path, it's linking me to the file while typying #include "customTypes.h", but on compilation, it's giving some type errors.
Kindly help me how to do this in Qt. Thank you.