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

On Android with Honor 6 grabToImage() takes noise image

    XMLWordPrintable

Details

    • Android

    Description

      QEventLoop loop;
      QSharedPointer<QQuickItemGrabResult> grabResult = itemInQml->grabToImage(); loop.connect(grabResult.data(), SIGNAL(ready()), &loop, SLOT(quit()));
      loop.exec();
      loop.exit();

      QImage qi = grabResult.data()->image();
      qi.save("Test.jpg");

       

      On LG G2 / Android 5.1 and Win10 it works correctly. On Honor 6 / Android 6 the result is a randomly noise image, The format shows Format_RGBA8888_Premultiplied.

      Similar to QTBUG-59303.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            tiroler Armin Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes