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

int QAndroidImageCapture::captureToBuffer() // ### implement me!

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.3.0 Alpha, 6.2
    • 6.2.0
    • Multimedia
    • None
    • Windows 10 20H2
      Android 11.0
    • Android
    • 60f9c575c2e21f5dfc08386e537ea56d5759b826 (qt/qtmultimedia/dev) 1323c6f439f960d6c8cb34c03c331475b74b6d15 (qt/qtmultimedia/6.2)
    • 2021wk44POAndroid&Mobile, 2021wk46POAndroid&Mobile

    Description

      QImageCapture cant capture images to memory on Android.

      D libSource_arm64-v8a.so: Error =  QImageCapture::NotSupportedFeatureError
      D libSource_arm64-v8a.so: ErrorMessage =  "Capturing to buffer not supported."
      

      Not sure if it was forgotten or time ran out during Qt 6.2 Multimedia development, but I would love to have that capability.

      int QAndroidImageCapture::captureToBuffer()
      {
          // ### implement me!
          const QLatin1String errorMessage("Capturing to buffer not supported.");
          QMetaObject::invokeMethod(this, "error", Qt::QueuedConnection,
                                    Q_ARG(int, -1),
                                    Q_ARG(int, QImageCapture::NotSupportedFeatureError),
                                    Q_ARG(QString, errorMessage));
          return -1;
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              samuelmira Samuel Mira
              Marscho Marscho
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes