I am trying to connect a C ++ project to Qt (no Qt own libraries are used), the ole32 and oleaut32 libraries from the windows SDK set.
LIBS += -lole32 LIBS += -loleaut32 Libraries (.lib) are in the project directory, he sees them, he seems to see the same functions from them. But it produces ~ 1000 errors in .h files of libraries. Apparently these are compiled into msvc, qt works through mingw, that's the problem (as it seems to me). Is there any way to still connect them without errors using Qt? Maybe you need to connect not the lib and the dll files? Or do they also depend on the compiler? Knowledge in this area is lacking, apparently I missed something important