Important: Please read the Qt Code of Conduct -

Creating video player using the form editor

  • Hi

    I've been trying to figure out how to connect the QMediaPlayer with a QGraphicsView that was placed on a form, as I'm not sure what is needed to be done to connect these two objects.

    Thank you for your time and responses.

    Fidchell's Eye

  • Hi and welcome to the forum!

    I guess what you want is QGraphicsVideoItem. It allows you to place a video provided by QMediaPlayer in a QGraphicsView.

  • Thanks, that link is helping me make the connection of the two.

    But I'm getting:
    Starting ..../MediaTest...
    Gtk-Message: Failed to load module "overlay-scrollbar"
    The program has unexpectedly finished.
    ..../MediaTest crashed.

    So I can't tell if I got it hooked up right.

Log in to reply