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

Documentation shows use of deleted QImageCapture constructor

XMLWordPrintable

    • All
    • e3a38654e6 (qt/qtmultimedia/dev) f20f987093 (qt/qtmultimedia/6.3) f576700d52 (qt/qtmultimedia/6.2) f576700d52 (qt/tqtc-qtmultimedia/6.2)

      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;

       

        For Gerrit Dashboard: QTBUG-99643
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes