Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt crash at installation
Forum Updated to NodeBB v4.3 + New Features

Qt crash at installation

Scheduled Pinned Locked Moved Solved Installation and Deployment
31 Posts 10 Posters 9.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hskoglundH hskoglund

    Hmm it could be something hazardous in your PATH settings, you could try open a CMD window with the PATH temporarily set to empty:

    set path=
    E:\Téléchargements\qt-unified-windows-x86-3.2.1-2-online.exe
    
    F Offline
    F Offline
    Fasstaff
    wrote on last edited by
    #11

    @hskoglund Sorry for not knowing it, but what would setting a path do ?

    JonBJ 1 Reply Last reply
    0
    • F Fasstaff

      @hskoglund Sorry for not knowing it, but what would setting a path do ?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #12

      @Fasstaff
      The code is clearing the path 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.

      1 Reply Last reply
      0
      • hskoglundH hskoglund

        Hmm it could be something hazardous in your PATH settings, you could try open a CMD window with the PATH temporarily set to empty:

        set path=
        E:\Téléchargements\qt-unified-windows-x86-3.2.1-2-online.exe
        
        F Offline
        F Offline
        Fasstaff
        wrote on last edited by Fasstaff
        #13

        @hskoglund
        Oh, I don't know why but this solve my problem, thank you very very much !

        Though, if possible, I would still like the explanation ^^

        JKSHJ 1 Reply Last reply
        0
        • F Fasstaff

          @hskoglund
          Oh, I don't know why but this solve my problem, thank you very very much !

          Though, if possible, I would still like the explanation ^^

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by JKSH
          #14

          @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)

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          F 1 Reply Last reply
          2
          • JKSHJ JKSH

            @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)

            F Offline
            F Offline
            Fasstaff
            wrote on last edited by
            #15

            @JKSH
            Thank you very much for the explanation !
            And yeah, marking the topic as solved !

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sunhouzi
              wrote on last edited by
              #16

              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:

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sunhouzi
                wrote on last edited by
                #17

                this is online install video : https://www.aliyundrive.com/s/fQaWGfPQyoK

                this is offline install video : https://www.aliyundrive.com/s/EvfitA4LSz8

                JKSHJ 1 Reply Last reply
                0
                • S sunhouzi

                  this is online install video : https://www.aliyundrive.com/s/fQaWGfPQyoK

                  this is offline install video : https://www.aliyundrive.com/s/EvfitA4LSz8

                  JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #18

                  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.

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  S 1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sunhouzi
                    wrote on last edited by
                    #19
                    This post is deleted!
                    JKSHJ 1 Reply Last reply
                    0
                    • JKSHJ JKSH

                      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.

                      S Offline
                      S Offline
                      sunhouzi
                      wrote on last edited by
                      #20

                      @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=normal

                      install 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

                      1 Reply Last reply
                      0
                      • S sunhouzi

                        This post is deleted!

                        JKSHJ Offline
                        JKSHJ Offline
                        JKSH
                        Moderators
                        wrote on last edited by
                        #21

                        @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.

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        S 1 Reply Last reply
                        0
                        • JKSHJ JKSH

                          @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.

                          S Offline
                          S Offline
                          sunhouzi
                          wrote on last edited by
                          #22

                          @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

                          JKSHJ 1 Reply Last reply
                          0
                          • S sunhouzi

                            @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

                            JKSHJ Offline
                            JKSHJ Offline
                            JKSH
                            Moderators
                            wrote on last edited by
                            #23

                            @sunhouzi said in Qt crash at installation:

                            i install qt in virtual box on crashed pc, install success.

                            Great! Happy coding.

                            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                            S 1 Reply Last reply
                            0
                            • JKSHJ JKSH

                              @sunhouzi said in Qt crash at installation:

                              i install qt in virtual box on crashed pc, install success.

                              Great! Happy coding.

                              S Offline
                              S Offline
                              sunhouzi
                              wrote on last edited by
                              #24

                              @JKSH no. no. no, it is not resolve my problem.

                              i need install qt in origin pc not virtual box. virtual box is a test environment.

                              JKSHJ 1 Reply Last reply
                              0
                              • S sunhouzi

                                @JKSH no. no. no, it is not resolve my problem.

                                i need install qt in origin pc not virtual box. virtual box is a test environment.

                                JKSHJ Offline
                                JKSHJ Offline
                                JKSH
                                Moderators
                                wrote on last edited by
                                #25

                                @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).

                                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                S 1 Reply Last reply
                                1
                                • JKSHJ JKSH

                                  @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).

                                  S Offline
                                  S Offline
                                  sunhouzi
                                  wrote on last edited by
                                  #26

                                  @JKSH I try disable antivirus, it still crash.
                                  can you feedback this problem to developer? i can upload log if need.

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • S sunhouzi

                                    @JKSH I try disable antivirus, it still crash.
                                    can you feedback this problem to developer? i can upload log if need.

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #27

                                    @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

                                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    S 1 Reply Last reply
                                    0
                                    • jsulmJ jsulm

                                      @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

                                      S Offline
                                      S Offline
                                      sunhouzi
                                      wrote on last edited by
                                      #28

                                      @jsulm ok, think you~

                                      D 1 Reply Last reply
                                      0
                                      • S sunhouzi

                                        @jsulm ok, think you~

                                        D Offline
                                        D Offline
                                        Decycle
                                        wrote on last edited by
                                        #29

                                        @sunhouzi Did you fix it eventually? I have the same problem where I can't install qt. The system log also says error unknown

                                        1 Reply Last reply
                                        0
                                        • D Offline
                                          D Offline
                                          DylanT123
                                          wrote on last edited by
                                          #30

                                          This took me ages to fix but in the end I fixed this problem by:

                                          Example Batch Script:
                                          Here’s how you can create a batch script to clear the PATH and run the Qt installer:

                                          Open Notepad.
                                          Copy and paste the following lines into Notepad:
                                          batch
                                          Copy code
                                          @echo off
                                          rem Clear the PATH environment variable
                                          set PATH=
                                          rem Run Qt installer
                                          "InstallerPath/...."
                                          Save the file with a .bat extension, for example, install_qt.bat.
                                          Run the batch script by double-clicking it. This will open a Command Prompt window, clear the PATH, and then run the Qt installer.
                                          Note:
                                          Replace "InstallerPath/...." with the correct path to your Qt installer.
                                          Ensure that the Qt installer file you're using is not corrupted and that you have downloaded it completely.

                                          W 1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved