Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-115185

grabWindow get full white on osgEarth widget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.9.9, 5.14.2
    • Widgets: Main Window
    • None
    • windows7 sp1 x64
      NVIDIA GTX 1060
    • Windows

    Description

      My program has a main window with several widgets in it, one of which is the osgEarth widget, which shows the 3D Earth, and the map appears fine. I use QScreen::grabWindow to grab the main window of the application, and everything is fine except the osgEarth widget, which appears white.

      I have tried:
      gl_widget->setUpdatesEnabled(false);
      QScreen::grabWindow(...)
      gl_widget->setUpdatesEnabled(true);

      But not work, The osgEarth area in the grab result is always white. I have test the PrintScreen key is fine. How can I solve this problem? Thanks.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            laf163 LIU Aifu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes