Solved Qt5Core.dll crashes on my computers without IDE Qt
-
I wrote a code to make a simple chat,
it works very well on the computer I use to code
I use Qt creator
but when I try to open my .exe on an other computer
i have an error : this application has requested the Runtime to terminate it in an unusual way. please contact etc...one report says : Nom du module défaillant : Qt5Core.dll ( Name of the failed module )
EventWiever :
Version=1
EventType=APPCRASH
EventTime=131320826007103231
ReportType=2
Consent=1
UploadTime=131320826007259231
ReportIdentifier=af66ac5f-f78b-11e6-80b1-fcaa146470dd
IntegratorReportIdentifier=af66ac5e-f78b-11e6-80b1-fcaa146470dd
WOW64=1
Response.BucketId=1378131699
Response.BucketTable=25
Response.type=4
Sig[0].Name=Nom de l’application
Sig[0].Value=Client.exe
Sig[1].Name=Version de l’application
Sig[1].Value=0.0.0.0
Sig[2].Name=Horodatage de l’application
Sig[2].Value=58aac654
Sig[3].Name=Nom du module par défaut
Sig[3].Value=Qt5Core.dll
Sig[4].Name=Version du module par défaut
Sig[4].Value=5.0.2.0
Sig[5].Name=Horodateur du module par défaut
Sig[5].Value=5163676c
Sig[6].Name=Code de l’exception
Sig[6].Value=40000015
Sig[7].Name=Décalage de l’exception
Sig[7].Value=0000dc95
DynamicSig[1].Name=Version du système
DynamicSig[1].Value=6.1.7601.2.1.0.768.3
DynamicSig[2].Name=Identificateur de paramètres régionaux
DynamicSig[2].Value=1036
DynamicSig[22].Name=Information supplémentaire n° 1
DynamicSig[22].Value=4d80
DynamicSig[23].Name=Information supplémentaire n° 2
DynamicSig[23].Value=4d807cbcad7a65852ac26b0acf513729
DynamicSig[24].Name=Information supplémentaire n° 3
DynamicSig[24].Value=36e7
DynamicSig[25].Name=Information supplémentaire n° 4
DynamicSig[25].Value=36e77d7a7b0a20603c09c8716d445a4a
UI[2]=C:\Users\User\Desktop\client\release\Client.exe
UI[3]=Client.exe a cessé de fonctionner
UI[4]=Windows peut rechercher une solution au problème en ligne.
UI[5]=Rechercher une solution en ligne et fermer le programme
UI[6]=Rechercher ultérieurement une solution en ligne et fermer le programme
UI[7]=Fermer le programme
LoadedModule[0]=C:\Users\User\Desktop\client\release\Client.exe
LoadedModule[1]=C:\Windows\SysWOW64\ntdll.dll
LoadedModule[2]=C:\Windows\syswow64\kernel32.dll
LoadedModule[3]=C:\Windows\syswow64\KERNELBASE.dll
LoadedModule[4]=C:\Users\User\Desktop\client\release\Qt5Core.dll
LoadedModule[5]=C:\Users\User\Desktop\client\release\icuin49.dll
LoadedModule[6]=C:\Users\User\Desktop\client\release\libgcc_s_sjlj-1.dll
LoadedModule[7]=C:\Windows\syswow64\msvcrt.dll
LoadedModule[8]=C:\Users\User\Desktop\client\release\libwinpthread-1.dll
LoadedModule[9]=C:\Users\User\Desktop\client\release\libstdc++-6.dll
LoadedModule[10]=C:\Windows\syswow64\USER32.dll
LoadedModule[11]=C:\Windows\syswow64\GDI32.dll
LoadedModule[12]=C:\Windows\syswow64\LPK.dll
LoadedModule[13]=C:\Windows\syswow64\USP10.dll
LoadedModule[14]=C:\Windows\syswow64\ADVAPI32.dll
LoadedModule[15]=C:\Windows\SysWOW64\sechost.dll
LoadedModule[16]=C:\Windows\syswow64\RPCRT4.dll
LoadedModule[17]=C:\Windows\syswow64\SspiCli.dll
LoadedModule[18]=C:\Windows\syswow64\CRYPTBASE.dll
LoadedModule[19]=C:\Users\User\Desktop\client\release\icuuc49.dll
LoadedModule[20]=C:\Users\User\Desktop\client\release\icudt49.dll
LoadedModule[21]=C:\Windows\syswow64\ole32.dll
LoadedModule[22]=C:\Windows\syswow64\WS2_32.dll
LoadedModule[23]=C:\Windows\syswow64\NSI.dll
LoadedModule[24]=C:\Users\User\Desktop\client\release\Qt5Gui.dll
LoadedModule[25]=C:\Users\User\Desktop\client\release\libGLESv2.dll
LoadedModule[26]=C:\Users\User\Desktop\client\release\D3DCOMPILER_43.dll
LoadedModule[27]=C:\Users\User\Desktop\client\release\Qt5Network.dll
LoadedModule[28]=C:\Windows\syswow64\CRYPT32.dll
LoadedModule[29]=C:\Windows\syswow64\MSASN1.dll
LoadedModule[30]=C:\Windows\system32\DNSAPI.DLL
LoadedModule[31]=C:\Users\User\Desktop\client\release\Qt5Widgets.dll
LoadedModule[32]=C:\Windows\syswow64\SHELL32.DLL
LoadedModule[33]=C:\Windows\syswow64\SHLWAPI.dll
LoadedModule[34]=C:\Windows\system32\IMM32.DLL
LoadedModule[35]=C:\Windows\syswow64\MSCTF.dll
LoadedModule[36]=C:\Windows\system32\uxtheme.dll
LoadedModule[37]=C:\Windows\system32\dwmapi.dll
LoadedModule[38]=C:\Windows\SysWOW64\ctagent.DLL
State[0].Key=Transport.DoneStage1
State[0].Value=1
State[1].Key=DataRequest
State[1].Value=iData=1/nDumpFile=//Upload//iCab//139-3c37acb43a1440b482b44e22b33a17a4-0b6c20a5a1d5f04b603e3a85350cc073-1-108752314099-AppCrash32-6-1-7601-2.cab/nDumpServer=watson.microsoft.com/nResponseServer=watson.microsoft.com/nResponseURL=//dw//StageFour.asp?iBucket=108752314099&szCab=3c37acb43a1440b482b44e22b33a17a4.cab&EventType=AppCrash32&BucketHash=0b6c20a5a1d5f04b603e3a85350cc073&MID=EA65FB9C-F815-4FB1-BDE8-D96B88788BF7/nBucket=1378131699/nBucketTable=25/nResponse=1/n
FriendlyEventName=Fonctionnement arrêté
ConsentKey=APPCRASH
AppName=Client.exe
AppPath=C:\Users\User\Desktop\client\release\Client.exeI need help, an explanation ?
-
the problem is resolved with a folder named "platforms" next to my app.exe and the dll "windows.dll" inside
thanks a lot
-
Hi and welcome to devnet,
Did you properly deploy your application ? e.g. using windeployqt ?
-
Hi, @SGaist you're asking too much, Qt 5.0.2 didn't have any windeployqt program.
Anyway, the crash is most likely due to loading of a 64-bit .dll, I'd bet my money on qwindows.dll in your platforms directory. Make sure its the proper one for Qt 5.0.2 and MinGW, it supposed to be 1064448 bytes big.
-
@hskoglund good point, I missed the version number.
One other point is to ensure that you are copying the dlls/plugins from the MinGW install of Qt and not from the Qt Creator folder.
-
@hskoglund
I didn't found any qwindows.dll anyway ... -
@SGaist
I copied the dlls from the MinGW install of Qt ... -
the problem is resolved with a folder named "platforms" next to my app.exe and the dll "windows.dll" inside
thanks a lot