Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qt with QtGStreamer
Forum Updated to NodeBB v4.3 + New Features

Qt with QtGStreamer

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
13 Posts 2 Posters 5.9k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    What about first building these libraries ?

    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
    • AmrCoderA Offline
      AmrCoderA Offline
      AmrCoder
      wrote on last edited by
      #5

      i try to follow the steps in readme file and download all dependecies that need to make lib work the Gstream boost lib and all these
      and go to the example folder and try to compile the voip example i got this error that Qt5GStreamer-1.0 development package not found !
      after that i try some soultion to as written in question
      so what i should do to make it work please help me and thanks for your replay

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

        You should do like you did for boost, add the path to where the .lib files can be found.

        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
        • AmrCoderA Offline
          AmrCoderA Offline
          AmrCoder
          wrote on last edited by
          #7

          i add those
          INCLUDEPATH += C:/boost_1_61_0/
          LIBS += "-LC:/boost_1_61_0/stage/lib"

          INCLUDEPATH += C:/Users/a7a/Downloads/qt-gstreamer-1.2.0/src

          INCLUDEPATH += C:/gstreamer/1.0/x86_64/lib

          and the same error Qt5GStreamer-1.0 development package not found

          1 Reply Last reply
          0
          • AmrCoderA Offline
            AmrCoderA Offline
            AmrCoder
            wrote on last edited by AmrCoder
            #8

            see i found this line in .pro file

            Tell qmake to use pkg-config to find QtGStreamer.

            CONFIG += link_pkgconfig !? how the qmake can't find the package. it's the QtGstream folder i downloaded how give me this error ?
            Qt5GStreamer-1.0 development package not found !!

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

              Because by default it uses pkg-config which is not installed on Windows.

              You are still not adding the link flags to your .pro file for QtGStreamer.

              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
              • AmrCoderA Offline
                AmrCoderA Offline
                AmrCoder
                wrote on last edited by AmrCoder
                #10

                how can i add please tell me i add this
                INCLUDEPATH += C:/Users/a7a/Downloads/qt-gstreamer-1.2.0/src
                the path to QGstream folder that contain the Libs the folder (QGlib - QGst - qml) ? what should i add
                i should remove this line CONFIG += link_pkgconfig ?

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

                  See here on how to do it with Qt Creator

                  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
                  • AmrCoderA Offline
                    AmrCoderA Offline
                    AmrCoder
                    wrote on last edited by
                    #12

                    ok what i do is that
                    first i comment these lines

                    # Tell qmake to use pkg-config to find QtGStreamer.
                    #CONFIG += link_pkgconfig
                    
                    ## Now tell qmake to link to QtGStreamer and also use its include path and Cflags.
                    #contains(QT_VERSION, ^4\\..*) {
                    #  PKGCONFIG += QtGStreamer-1.0 QtGStreamerUi-1.0
                    #}
                    #contains(QT_VERSION, ^5\\..*) {
                    #  PKGCONFIG += Qt5GStreamer-1.0 Qt5GStreamerUi-1.0
                    #  QT += widgets
                    #}
                    

                    and add these

                    INCLUDEPATH += C:/gstreamer/1.0/x86_64/lib C:/Users/a7a/Downloads/qt-gstreamer-1.2.0/src C:/boost_1_61_0/ $$PWD/dependencies/glib_2.28.8-1_win32/bin
                    LIBS += "-LC:/boost_1_61_0/stage/lib" -L -Llibglib-2.0-0
                    

                    when i try to compile the example i got these

                    130 error

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

                      To link to a library you have to pass the parameter with a lowercase L. Uppercase L is for giving additional path to look at.

                      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