@Ni.Sumi said:
Copy this file from "c:\Program Files (x86)\Windows Kits\8.1\bin\x86\” to “c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\”.
This is bad advice. You shouldn't go around copying files to make things "work".
Use Qt plugin in VS then you can compile all Qt work without this error.
This is good advice, provided you work with visual studio.
@Papa
Are you using QtCreator? You shouldn't need to link the kernel32, shell32 and the like, it sound as a simple configuration error. Make sure you've created a kit that matches the (presumably) downloaded Qt distribution.
Here are a few links that should help you get started:
http://doc.qt.io/qtcreator/index.html
http://doc.qt.io/qtcreator/creator-configuring.html
http://doc.qt.io/qtcreator/creator-tool-chains.html
http://doc.qt.io/qtcreator/creator-targets.html
http://doc.qt.io/qtcreator/creator-project-qmake.html
If you have configured everything properly you wouldn't need to link the system libraries and shouldn't have problems running the resource compiler (rc.exe). If you're building from the command line, then it's a different matter.
I don't wanna link against anything, all I want to do is debug and/or run the program, it is Qt that needs to use the C++ linker and compiler. How it compiles and what it links to is not of my concern, as I said, all I want to do is write my program and run it, and if needed debug it.
You're wrong about this. You will be needing some basic knowledge what the compiler and linker do, possibly the loader and this has nothing to do with Qt. You, as a programmer, have to know how a program is built at least to the point to recognize what errors you get and why.
Kind regards.