windows - Why does qwindows.dll from Qt5.0.2 cause my application to crash -
we deploying qt5.0.2 application built vs2010 includes platforms/qwindows.dll
file in bin directory. upgraded qt5.0.1 qt5.0.2 , discovered on non-development machines our application crashing after loading. narrowed problem down qwindows.dll file. when use qwindows.dll version qt5.0.2 (file size 803kb) application crashes. when leave other included dlls same replace qwindows.dll 5.0.1 version (799kb), works. known bug? there else need include 5.0.2 version of dll work?
answering own question...
we had batch script automatically copied relevant prebuilt qt dlls our application's installation directory subdirectories of latest downloaded qt package's vs2010
directory. appears in qt5.0.1, qt dlls appeared in both lib
, bin
subdirectories of msvc2010
, whereas in qt5.0.2, qt dlls appear in bin
subdirectory. since automatically copying dlls lib
subdirectory, when migrated 5.0.2 nothing copied , old 5.0.1 dlls remained in our application's installation directory. qwindows.dll
file, however, still located in msvc2010\plugins\platforms
, did updated , not compatible old 5.0.1 dlls.
i don't think did funny downloaded qt installations, appreciate if else has downloaded both 5.0.1 , 5.0.2 independently verify 5.0.1 has dlls in msvc2010\lib directory
, 5.0.2 doesn't.
Comments
Post a Comment