QQuickWidget shows random shapes upon first run



  • When my application containing QQuickWidget is run for the first time on a new Windows computer, it shows random shapes in place of the QML scene. It looks like fragments of the QWidgets that are surrounding the QQuickWidget. After closing the app and running again it runs perfectly fine. The problem can't be reproduced by uninstalling the app and removing all settings. It just works fine till the end of times on that computer. What could be causing this? Is Qt Quick making some permanent setting to the OS?

    I'm building against my own Qt based on 5.3.1, with ANGLE enabled.



  • I recompiled my program with console enabled. It's showing this output when QQuickWidget is shown (no output directly after start):
    C:\Users\Vendelin\Downloads\Deployment>qq_pokus.exe
    OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr
    OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr
    OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr
    OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr
    OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr
    OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr
    OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr
    OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr
    err:[0xa04]:d3d:D:\tinderbox\add-4.3\src\VBox\Additions\WINNT\Graphics\Wine_new
    wined3d\resource.c 218: Resource 041F0FD0 is being unloaded while mapped.

    When it's run for the second time, it's showing QML scene properly, but prints the same error message.


Log in to reply
 

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