Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QOpenGLWidget and MSVC/mingw
Forum Updated to NodeBB v4.3 + New Features

QOpenGLWidget and MSVC/mingw

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 2 Posters 963 Views 1 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.
  • qtyetiQ Offline
    qtyetiQ Offline
    qtyeti
    wrote on last edited by
    #1

    Hi,

    I've got a problem with QOpenGLWidget and MSVC: What I'm doing is: I create a new Qt-Widgets application in Qt Creator (4.7.0, but I got the same issue with 4.6.2) and add just a OpenGLWidget to the form.
    Compiling and running the app with mingw displays the window with a black opengl widget (as expected).
    When I compile and run it with MSVC 2017 64bit (I've got the latest community edition installed) the window pops up all white just the windows title is displayed. After three or four seconds the window disappears and the message "The program has aborted" (in german) is displayed.
    I've got the same problem when trying to compile/run the Qt examples which are using QOpenGLWidget.
    Has anyone an idea what the cause of this issue is and how it could be fixed?

    Thanks in advance,
    Peter

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

      Hi
      Any change you got a intel graphic card ?
      I recall someone also having this issue lately but post escapes me.

      1 Reply Last reply
      0
      • qtyetiQ Offline
        qtyetiQ Offline
        qtyeti
        wrote on last edited by
        #3

        I'm using a laptop with an Intel i7-6700HQ cpu installed...

        mrjjM 1 Reply Last reply
        0
        • qtyetiQ qtyeti

          I'm using a laptop with an Intel i7-6700HQ cpu installed...

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

          @qtyeti

          That seems to be HD 530.
          If you google it , it seems to be a lot of people experiencing this issue
          with visual stud + intel hd 530 and opengl
          I could not find the main intel post about it.
          did you recently try update drivers ?

          1 Reply Last reply
          3
          • qtyetiQ Offline
            qtyetiQ Offline
            qtyeti
            wrote on last edited by
            #5

            You're right, it's a HD 530. Looks like I've got very old drivers installed - will try to update them.
            Will keep you updated, thanks for the info!

            1 Reply Last reply
            1
            • qtyetiQ Offline
              qtyetiQ Offline
              qtyeti
              wrote on last edited by
              #6

              Hmm, bad luck. Installed the latest driver but still the same issue...

              mrjjM 1 Reply Last reply
              1
              • qtyetiQ qtyeti

                Hmm, bad luck. Installed the latest driver but still the same issue...

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

                @qtyeti
                Damn :)
                Well im not sure they fixed the issue/what it really was.
                My googleFu seems to fail me today.

                What Qt version are you using ?
                (you list Creator version)

                I think/assume you are hit by
                https://bugreports.qt.io/browse/QTBUG-50371?jql=text ~ "opengl crash'"

                1 Reply Last reply
                0
                • qtyetiQ Offline
                  qtyetiQ Offline
                  qtyeti
                  wrote on last edited by
                  #8

                  Apologies - I'm using 5.11

                  mrjjM 1 Reply Last reply
                  0
                  • qtyetiQ qtyeti

                    Apologies - I'm using 5.11

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

                    @qtyeti
                    Ok so most likely not inside Qt.
                    I had hoped it was older and w could get fix that way. ( upgrading)
                    I will update when i find the intel post again.
                    It was a real issue driver wise.

                    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