How to configure QImageReader for mjpeg

  • Hello Qt'ers,

    Can anyone explain how to configure QImageReader to support mjpeg? I have configured & built Qte 5.5.0 to use GStreamer-1.0 and yet QImageReader.supportedImageFormats() returns only "jpeg". I would have thought that since the build configuration included the "-gstreamer 1.0" flag that no additional plugins would be required for mjpeg but apparently it is. The build environment is:

    • Qte 5.5.0
    • Ubuntu 12.04
    • GStreamer-1.0 (installation confirmed by playing a video from the command line).

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    QImageReader doesn't depend on GStreamer. GStreamer is used by the QtMultimedia module.