Quote Originally Posted by justatiq View Post
Yes you are right, there is a snippet for that... and I did that but I got some errors which are reported in my first post at the top.
So fix them, A missing file from Windows SDK doesn't have anything to do with Qt.

I would be very thankful if somebody tell me how can I configure Qt with WMI
What do you mean by "configure Qt with WMI"?
I thought there would be something similar in Qt and this is what I am trying to ask other people on this forum not any code.
Again, Qt has nothing to do with this. Create a new project, strip it all of Qt code and focus on including the offending file. Before other things, check if you have this file on your disk at all and where it is.