Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick App crashing on Windows 10
Forum Updated to NodeBB v4.3 + New Features

QtQuick App crashing on Windows 10

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 3 Posters 934 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
    maxwell31
    wrote on 9 Sept 2019, 10:53 last edited by maxwell31 9 Sept 2019, 15:06
    #1

    Hi,

    I have a problem with a QtQuick App using Qt 5.13, which crashs on startup on a fairly old laptop running Windows 10. It has Intel HD Graphics 3000, and Open GL Extensions Viewer tells me that it has OpenGL 3.1. I cross compiled this version on a Linux machine, where I never had any issues.

    The problem is, that the program starts, the window frame is drawn including white background, but then it suddenly crashs without any error message. My program also has a logfile, where I can see that the program started, but did not yet do anything meaningful (as it is supposed to be in the absence of user interaction). How can I find out if something is going wrong with OpenGL or QtQuick?

    What makes the issue more weird, is that out of 10 times the program starts fine. What could be a possible source of error? Ram consumption of our program is only about 130 MB, so this should not be the issue.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fcarney
      wrote on 9 Sept 2019, 19:37 last edited by
      #2

      I had issues getting Qt 5.12 apps running on Windows 10 in a virtual machine. I used the mesa drivers to fix this:
      mesa drivers windows

      However, I do NOT know how this will work on a system with real hardware.

      C++ is a perfectly valid school of magic.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        maxwell31
        wrote on 11 Sept 2019, 10:58 last edited by
        #3

        I have no experience under windows. How can I find out where a cross compiled version is crashing? Are there environment variables which would make QT output some information?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          maxwell31
          wrote on 12 Sept 2019, 08:34 last edited by
          #4

          Hi,
          Yes I will try the MESA drivers. However, I would like to avoid this as the general solution, as the users would need to install MESA (right?) and it might create performance problems.

          1 Reply Last reply
          0
          • F Offline
            F Offline
            fcarney
            wrote on 12 Sept 2019, 15:27 last edited by
            #5

            @maxwell31 said in QtQuick App crashing on Windows 10:

            I would like to avoid this as the general solution

            Yes, the mesa driver might not be a solution at all for end users. We found the solution for VMs so we can do development in the VM.

            C++ is a perfectly valid school of magic.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              maxwell31
              wrote on 13 Sept 2019, 09:49 last edited by
              #6

              I found the reason for the crash with EventViewer: ig4icd64.dl so the problem is the intel HD3000 graphics driver.

              J 1 Reply Last reply 13 Sept 2019, 11:58
              1
              • M maxwell31
                13 Sept 2019, 09:49

                I found the reason for the crash with EventViewer: ig4icd64.dl so the problem is the intel HD3000 graphics driver.

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 13 Sept 2019, 11:58 last edited by
                #7

                @maxwell31 said in QtQuick App crashing on Windows 10:

                graphics driver

                This is often a problem. Worth updating the driver.

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

                1 Reply Last reply
                0

                1/7

                9 Sept 2019, 10:53

                • Login

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