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. QQuickWidget shows random shapes upon first run
Forum Updated to NodeBB v4.3 + New Features

QQuickWidget shows random shapes upon first run

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 923 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.
  • O Offline
    O Offline
    ondrejandrej
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • O Offline
      O Offline
      ondrejandrej
      wrote on last edited by
      #2

      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.

      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