Qt crash at installation
-
@Fasstaff
The code is clearing thepath
environment variable to try to ensure the installer doesn't try to load/run/find something elsewhere that it's not supposed to.But it doesn't matter unless you try @hskoglund 2 lines (exactly as shown) in a Command Prompt. See if that makes it work or whether you have the same crash.
-
@Fasstaff said in Qt crash at installation:
@hskoglund
Oh, I don't know why but this solve my problem, thank you very very much !Great! Please mark this topic as "Solved" and mark his answer as "Correct Answer"
- Click "Topic Tools" -> "Mark Post as Solved"
- Click the triple dots (next to the answer) -> "Mark this post as the correct answer"
Though, if possible, I would still like the explanation ^^
The PATH is a list of folders. Windows tells your executable to find and load DLLs from the PATH folders.
If clearing the PATH stops a program from crashing, then you probably have a case of DLL Hell. One of the folders in your PATH probably contains DLLs that are incompatible with the Qt installer (for example, it might contain a different version of Qt DLLs)
For this reason, we should avoid adding items to the PATH unnecessarily (and we should design our software in a way that doesn't need to be put in the PATH)
-
i have same problem, and i try run set path in cmd:
set path=
qt-opensource-windows-x86-5.14.2.exe
but it still crash, also i try use online install, it same result crash on progress.I try change install path to C or D, it still crash !
I Think the system have problem, but i upgrade to windows 11, it still cash !
this is system event log:
错误应用程序名称: qt-opensource-windows-x86-5.14.2.exe,版本: 3.2.2.0,时间戳: 0x5e673bc0
错误模块名称: unknown,版本: 0.0.0.0,时间戳: 0x00000000
异常代码: 0xc0000005
错误偏移量: 0x00000000
错误进程 ID: 0x5f48
错误应用程序启动时间: 0x01d7dad7a42aeffe
错误应用程序路径: D:\Download\EGDownloads\qt-opensource-windows-x86-5.14.2.exe
错误模块路径: unknown
报告 ID: 3e71d254-b3f0-491a-b111-88f38447180c
错误程序包全名:
错误程序包相对应用程序 ID: -
this is online install video : https://www.aliyundrive.com/s/fQaWGfPQyoK
this is offline install video : https://www.aliyundrive.com/s/EvfitA4LSz8
-
Hi, and welcome!
Do you have another PC? Can you try running the installer on a different PC?
@sunhouzi said in Qt crash at installation:
this is system event log:
Unfortunately, the log doesn't say what caused the crash.
this is online install video : https://www.aliyundrive.com/s/fQaWGfPQyoK
this is offline install video : https://www.aliyundrive.com/s/EvfitA4LSz8
The website is asking us to login. So, we are unable to view those videos.
-
@JKSH another pc is no problem.
i change video to this:
install offline:
file url : https://nas.devwiki.net/share.cgi?ssid=c9da18c98b6a4bc7b42dd0bcf8b63ad7
play url : https://nas.devwiki.net/share.cgi?ssid=c9da18c98b6a4bc7b42dd0bcf8b63ad7&ep=&fid=c9da18c98b6a4bc7b42dd0bcf8b63ad7&open=normalinstall online :
file url: https://nas.devwiki.net/share.cgi?ssid=a5e4278d69a94d11a0878112e9e179af
play url: https://nas.devwiki.net/share.cgi?ssid=a5e4278d69a94d11a0878112e9e179af&ep=&fid=a5e4278d69a94d11a0878112e9e179af&open=normal -
@sunhouzi said in Qt crash at installation:
another pc is no problem.
OK, can you try installing on another PC? Does it crash there?
i change video
Thanks. So the installer can start, but it crashes after you select the items you want to install. Unfortunately, I have never seen a crash at that step before, so I can't say what's causing it. My guess is that something in your OS settings (or antivirus settings) is interfering with the installer.
-
@JKSH i install qt in virtual box on crashed pc, install success.
this is file url: https://nas.devwiki.net/share.cgi?ssid=19f1a596813e4e519cab791895e36f49
this is play url : https://nas.devwiki.net/share.cgi?ssid=19f1a596813e4e519cab791895e36f49&ep=&fid=19f1a596813e4e519cab791895e36f49&open=normal -
@sunhouzi said in Qt crash at installation:
i install qt in virtual box on crashed pc, install success.
Great! Happy coding.
-
@sunhouzi said in Qt crash at installation:
i need install qt in origin pc not virtual box.
Then you need to find out what is causing the crash, because the problem is specific to your PC. I have never seen this type of crash in the installer before, so I'm sorry I can't really help you. The only suggestion I can think of is to disable your antivirus (if you have one).
-
@sunhouzi said in Qt crash at installation:
can you feedback this problem to developer?
You can do it also: https://bugreports.qt.io/secure/Dashboard.jspa