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

QtQuick App crashing on Windows 10

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 3 Posters 918 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 last edited by maxwell31
    #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
    • fcarneyF Offline
      fcarneyF Offline
      fcarney
      wrote on 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 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 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
          • fcarneyF Offline
            fcarneyF Offline
            fcarney
            wrote on 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 last edited by
              #6

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

              jsulmJ 1 Reply Last reply
              1
              • M maxwell31

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

                jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on 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

                • Login

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