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. Error running default HelloWorld QML project on clean install. [Win10, Qt5.10]

Error running default HelloWorld QML project on clean install. [Win10, Qt5.10]

Scheduled Pinned Locked Moved Solved Installation and Deployment
19 Posts 3 Posters 5.0k Views
  • 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.
  • M Offline
    M Offline
    maxoox
    wrote on last edited by maxoox
    #1

    Hello,

    i have a fresh Qt installation (5.10.0) running including QtCreator (4.5.0) on my Windows 10 Machine. Running the default QML Hello World program with the standard "Desktop Qt 5.10.0 MinGW 32Bit"-Kit (Build: Debug) results in an error listed in the Application Output window:
    "The program has unexpectedly finished. The process was ended forcefully."

    So, where can i get a more detailled description of the error to solve that problem? Or any ideas what went wrong? As i mentioned, it's a clean install with the latest offline installer.

    Thanks!

    1 Reply Last reply
    1
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      First suspect is always the gfx driver.
      Did you update it lately ?
      QML requires good openGL support.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maxoox
        wrote on last edited by
        #3

        Hey, thanks for your quick reply! :)

        Im using a Surface Pro 3 with Win 10 and an Intel HD Graphics chip (onboard). All available Updates for Windows 10 are installed, so I think this includes all drivers too.

        mrjjM 1 Reply Last reply
        0
        • M maxoox

          Hey, thanks for your quick reply! :)

          Im using a Surface Pro 3 with Win 10 and an Intel HD Graphics chip (onboard). All available Updates for Windows 10 are installed, so I think this includes all drivers too.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          Have you checked with some other openGL app that its working ?

          I assumed you have installed
          https://www.microsoft.com/en-us/download/details.aspx?id=38826

          1 Reply Last reply
          0
          • M Offline
            M Offline
            maxoox
            wrote on last edited by
            #5

            Other OpenGL application are working fine.
            More ideas? :)

            mrjjM JonBJ 2 Replies Last reply
            0
            • M maxoox

              Other OpenGL application are working fine.
              More ideas? :)

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @maxoox
              sadly no.
              And just to be clear. A plain fresh QML default project crashes ?

              The openGL app you test with. are they newer date?
              It might be shader revision or other support QML wants that is not correct version.

              1 Reply Last reply
              0
              • M maxoox

                Other OpenGL application are working fine.
                More ideas? :)

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

                @maxoox
                The usual place to start from a "crash" is to run it from within a debugger?

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  maxoox
                  wrote on last edited by
                  #8

                  @mrjj yeah, it's a complete plain fresh install. I'll deinstall it and install it again, hopefully it will work.

                  @JonB I know, but also the debugger showed no detailled information related to this problem.

                  mrjjM 1 Reply Last reply
                  0
                  • M maxoox

                    @mrjj yeah, it's a complete plain fresh install. I'll deinstall it and install it again, hopefully it will work.

                    @JonB I know, but also the debugger showed no detailled information related to this problem.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by mrjj
                    #9

                    @maxoox
                    Hi
                    It wont help installing Qt again.
                    If a clean default QML project crashes,
                    its something on the operating system it dont like or that do not meet minimum requirements

                    https://doc-snapshots.qt.io/qt5-dev/windows-requirements.html
                    https://wiki.qt.io/Qt_5_on_Windows_ANGLE_and_OpenGL

                    "The Qt Quick 2 stack in Qt 5 is based on OpenGL, and requires OpenGL 3.0 (alternatively OpenGL 2.x with the framebuffer_object extension) or higher or OpenGL ES 2.0. The Qt OpenGL module requires OpenGL 1.3 or later."

                    M 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      @maxoox
                      Hi
                      It wont help installing Qt again.
                      If a clean default QML project crashes,
                      its something on the operating system it dont like or that do not meet minimum requirements

                      https://doc-snapshots.qt.io/qt5-dev/windows-requirements.html
                      https://wiki.qt.io/Qt_5_on_Windows_ANGLE_and_OpenGL

                      "The Qt Quick 2 stack in Qt 5 is based on OpenGL, and requires OpenGL 3.0 (alternatively OpenGL 2.x with the framebuffer_object extension) or higher or OpenGL ES 2.0. The Qt OpenGL module requires OpenGL 1.3 or later."

                      M Offline
                      M Offline
                      maxoox
                      wrote on last edited by
                      #10

                      @mrjj GPU Caps View shows me OpenGL 4.3 and OpenCL 1.2. Maybe some compiler issues. I'm waiting for the reinstall to finish.

                      mrjjM 1 Reply Last reply
                      0
                      • M maxoox

                        @mrjj GPU Caps View shows me OpenGL 4.3 and OpenCL 1.2. Maybe some compiler issues. I'm waiting for the reinstall to finish.

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @maxoox
                        ok, it does sounds new enough.
                        Make sure no virus scanner is blocking anything during install.

                        M 1 Reply Last reply
                        0
                        • mrjjM mrjj

                          @maxoox
                          ok, it does sounds new enough.
                          Make sure no virus scanner is blocking anything during install.

                          M Offline
                          M Offline
                          maxoox
                          wrote on last edited by
                          #12

                          Make sure no virus scanner is blocking anything during install.

                          Oh, is that the explanation for some timeout errors related to the Online Installer? If yes, this should be fixed to work at least with the Windows default av scanner :D

                          mrjjM 1 Reply Last reply
                          0
                          • M maxoox

                            Make sure no virus scanner is blocking anything during install.

                            Oh, is that the explanation for some timeout errors related to the Online Installer? If yes, this should be fixed to work at least with the Windows default av scanner :D

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            @maxoox
                            Well i have only had Avast and others do it.
                            Not windows defender.

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              maxoox
                              wrote on last edited by maxoox
                              #14

                              Ok, install finished. Same error as before.

                              Running the Debugger of QtCreator shows error message "Executable Failed":

                              During startup program exited with code 0xc0000139.

                              Searching on the web doesn't show up any solution.

                              Edit: Could this issue be related to a too long file path regarding mingw32-make maybe?

                              mrjjM 1 Reply Last reply
                              0
                              • M maxoox

                                Ok, install finished. Same error as before.

                                Running the Debugger of QtCreator shows error message "Executable Failed":

                                During startup program exited with code 0xc0000139.

                                Searching on the web doesn't show up any solution.

                                Edit: Could this issue be related to a too long file path regarding mingw32-make maybe?

                                mrjjM Offline
                                mrjjM Offline
                                mrjj
                                Lifetime Qt Champion
                                wrote on last edited by mrjj
                                #15

                                @maxoox
                                Do a non QML project works?
                                Also you are just using the include mingw compiler?, correct?

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  maxoox
                                  wrote on last edited by
                                  #16

                                  Just the built-in mingw compiler.

                                  Same issue for Widgets application.

                                  In both cases the build-process runs without errors or warnings. Just running the app doesnt work.

                                  mrjjM 1 Reply Last reply
                                  0
                                  • M maxoox

                                    Just the built-in mingw compiler.

                                    Same issue for Widgets application.

                                    In both cases the build-process runs without errors or warnings. Just running the app doesnt work.

                                    mrjjM Offline
                                    mrjjM Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #17

                                    @maxoox
                                    So a Widgets project can compile but pressing run does nothing?
                                    Is the .exe file created in build folder?

                                    1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      maxoox
                                      wrote on last edited by
                                      #18

                                      Hey,

                                      i solved the problem by reinstalling Qt and using the latest Visual Studio compiler instead of MinGW.. i think it somehow has conflicts with pre-installed versions of MinGW.

                                      Well, at least it works. @mrjj Thanks a lot for your help! :)

                                      mrjjM 1 Reply Last reply
                                      1
                                      • M maxoox

                                        Hey,

                                        i solved the problem by reinstalling Qt and using the latest Visual Studio compiler instead of MinGW.. i think it somehow has conflicts with pre-installed versions of MinGW.

                                        Well, at least it works. @mrjj Thanks a lot for your help! :)

                                        mrjjM Offline
                                        mrjjM Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #19

                                        @maxoox
                                        Oh.
                                        good it works!
                                        Happy programming.

                                        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