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

Documentation shows use of deleted QImageCapture constructor

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      e3a38654e6 (qt/qtmultimedia/dev) f20f987093 (qt/qtmultimedia/6.3) f576700d52 (qt/qtmultimedia/6.2) f576700d52 (qt/tqtc-qtmultimedia/6.2)

      Description

      The multimedia-class documentation is critical, because of the large number of changes between Qt 5 and 6. Unfortunately it does not appear to have been maintained.

      One error can be found here. It instructs developers to call a constructor that has been deleted:

      imageCapture = new QImageCapture(camera);

      If you look at the source where the constructor was deleted (qimagecapture.h), you see:

      // This is here to flag an incompatibilities with Qt 5
      QImageCapture(QCamera *) = delete;

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              nick_bennett Nicholas Bennett
              Reporter:
              stoked Gavin Stokes
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes