Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtGStreamer - QGlib::connect

QtGStreamer - QGlib::connect

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 876 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    junf1024
    wrote on last edited by junf1024
    #1

    I meet some Error Tips when I use "QGlib::connect" to connect QGst::BusPtr with my slots function.

    Although the slots function have worked successfully, the app always print some error message like that after slots :

    Error during invocation of closure connected to signal "message::eos" from object "" : "One of the arguments of the signal was not a valid GValue. This is most likely a bug in the code that invoked the signal."
    

    my codes like that:

    QGst::BusPtr bus = m_pipeline->bus();
    bus->addSignalWatch();
    QGlib::connect(bus, "message", this, &MainWindow::onBusMessage );
    

    Has anyone ever had the same problem?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      junf1024
      wrote on last edited by
      #2

      When I use QGlib::connect at other Class such as QWidget...
      This error has disappeared!

      Maybe... I should not use it at QMainwindows ?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Can you show both versions code ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved