Hi,
I have installed qt-win-opensource-4.8.4-vs2010.exe. I did not recompile anything (except qmake…).
I have an application project and a style plugin project, but the plugin does not load. I have found that the problem was in the qconfig.h file installed with qt-win-opensource-4.8.4-vs2010.exe. It contains :
#define QT_BUILD_KEY “Windows mingw debug full-config”
a.s.o for release and x64.
Obviously, installed Qt dlls have been compiled with :
#define QT_BUILD_KEY “Windows msvc debug full-config”
and my plugin does not load because the keys do not match.
I have changed manually the qconfig.h file and now it is working.
Of course, if I had recompiled Qt dlls, all dlls would have been build with QT_BUILD_KEY = “Windows mingw debug full-config” , although compiled with vs2010, and I would not have notice the problem. But is this normal?
↧