i have simple application using
qt += core gui network webkitwidgets
i've used windeployqt.exe
generate 32 bits release on win-10 64 bit computer. when put folder on win-7 64 bit desktop , double-click app.exe, never starts.
i can see in task manager, can't kill it, , if try cannot close explorer folder in double clicked anymore.
i've checked usual platform, icu, qwindows.dll, , on.
http://doc.qt.io/qt-5/windows-deployment.html
edit precisions:
i've compiled default 32 bit kit: "build-test-desktop_qt_5_5_1_mingw_32bit-release" "mingw492_32"
i have package "release" generated windeployqt.exe using --webkit switch. start command prompt:
> set path= > set mingw=
- then make sure no qt/mingw things exists anymore in environment variables.
- i rename "c:\qt" "c:\ __qt".
- i move release folder on desktop.
- i start release\test.exe ( clean path shell )
everything runs fine! release/test.exe has needs without path/mingw variable.
but put folder on windows machine ( 7 instead of 10 ) never starts.
- i tried dependency walker. shows lot of "api-ms-win*.dll" missing...
- it shows more missing dlls on "good" machine on bad 1 !!!
- every single "missing dll" on "bad" target machine in system32 on machine.
thanks advice, every advice welcome, i'm bit desperate... :)
edit
it seems related machine itself. have deployed (very small) app 2 non developer machine on win7 , win8 respectively. above "bad machine" still resits running it...
edit
the problem seems not general related 1 particular machine. hence, feel free close or move appropriate forum not related qt/windeplyqt. if figure out solution, , question closed, i'll add last edit. safe boot , malwarebyte next actions.
after long investigation.
- do not believe dependency walker, used top notch tool outdated.
- if there missing dll, system prompt "cannot load dll xxx.dll" anyway.
your best shot in case soft runs on machine x not on machine y is:
- start in safe mode ( run: msconfig --> diagnostic startup )
- turn off antivirus or non microsoft/driver software,
- "run administrator".
if can run step 3. proceed elimination:
- run without admin rights,
- start anti spyware, etc...
- add appropriate exception antivirus if root cause.
- if antivirus not root cause, run process monitor on both machines. compare, failed on 1 machine , not other ? read windows event log , compare error messages on both machines.
- run
sfc /scannow
check disk - run complete anti spyware scan/ pc-repair tool ( malwarebytes, combofix, ... )
- make sure have same package on both machines, make sure not trying run exe on mac os, make sure computer on.
- call oracle, in matrix...
in case problem avast , solved adding appropriate exception.
Comments
Post a Comment