QOpenGLWidget and MSVC/mingw



  • 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


  • Qt Champions 2017

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



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


  • Qt Champions 2017

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



  • 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!



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


  • Qt Champions 2017

    @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'"



  • Apologies - I'm using 5.11


  • Qt Champions 2017

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.