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

warning message when running a video inside graphics view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.7.0
    • 4.7.0
    • Multimedia
    • None
    • Windows 7

    Description

      If I run the following example, there is a warning "QMetaObject::invokeMethod: No such method DirectShowSampleScheduler::timerActivated()"

      int main(int argc, char** argv)
      {
      	QApplication app(argc, argv);
      
          QGraphicsScene scene;
          QGraphicsView view(&scene);
          view.setViewport(new QGLWidget);
      
          QMediaPlayer player;
          player.setMedia(QMediaContent(QUrl("D:/DShowQt/mediasamples/Coral_Reef_Adventure_720.wmv")));
          QGraphicsVideoItem *video = new QGraphicsVideoItem;
          video->setMediaObject(&player);
          video->setSize(QSizeF(640,480));
          player.play();
          scene.addItem(video);
          view.show();
      	return app.exec();
      }
      

      Attachments

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

        Activity

          People

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes