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. Error about pipeline use
QtWS25 Last Chance

Error about pipeline use

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 780 Views
  • 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.
  • C Offline
    C Offline
    Chanchan
    wrote on last edited by
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chanchan
      wrote on last edited by Chanchan
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        First point, the QtGstreamer module is not an official Qt module, it comes from the GStreamer folks. Second thing, the QtGstreamer module is unmaintained. See here for more information.

        That said, for your current issue, the first thing I would do is remove that subclass of QCoreApplication. There's rarely a need to do that, and IIRC, your doing it wrong with passing asking argc as a copy, it should be a reference.

        Also if you want to handle options in your application, use QCommandLineParser.

        One last thing, what errors are you getting ?

        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
        1
        • C Offline
          C Offline
          Chanchan
          wrote on last edited by
          #4

          Hi !

          Sorry @SGaist I didnt receive the notification of your answer, thx for it

          There are errors I get :
          /Bureau/Qt Clement/QtGsttest/player.cpp:16: erreur : undefined reference to QGst::Ui::VideoWidget::VideoWidget(QWidget*, QFlags<Qt::WindowType>)' /Bureau/Qt Clement/QtGsttest/player.cpp:16: erreur : undefined reference to QGst::Ui::VideoWidget::~VideoWidget()'
          /Bureau/Qt Clement/build-QtGsttest-Desktop-Debug/player.o:-1: In function Player::~Player()': /Bureau/Qt Clement/QtGsttest/player.cpp:25: erreur : undefined reference to QGst::Element::setState(QGst::State)'

          etc...

          I have the same error for each line including "QGst::..."

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Chanchan
            wrote on last edited by
            #5

            And I dont really understand, it would be better to delete Qcoreapplication ? Can I use ApplicationSink that way ?
            About argc I'm not sure about your point. What do you mean by "reference" ?

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Chanchan
              wrote on last edited by
              #6

              I actually, I took my code from this link :
              https://gstreamer.freedesktop.org/data/doc/gstreamer/head/qt-gstreamer/html/examples_2recorder_2main_8cpp-example.html

              I dont understand why it doesn't work if I juste change my link that's why I am quite lost

              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