Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Enable Gstreamer in Qt5 configuration

    Installation and Deployment
    8
    49
    33211
    Loading More Posts
    • 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.
    • M
      MeowMeow last edited by

      Dear all,

      I'm a newbie.
      I got an issue and I try to solve it but unsuccessfully.
      Could you please give me advice ?
      I want play and video on Linux embedded,
      I install Gstreamer and I can play video with command (gst-launch)
      But in Qt configuration I can not enable Gstreamer option.
      I try with command "configure -v " but no information about gstreamer is displayed.
      Did i install lack of any package?
      Any advice is greatly appreciated. Thank you so much!

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        AFAIK gstreamer is the default backend on linux but it must be detected. Did you install the dev package ?

        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 Reply Quote 0
        • M
          MeowMeow last edited by

          Thank for your reply.
          I installed gstreamer-0.10.36 and gst-plugins-good, bad,ugly, ffmpeg...
          Is it enough? What's dev package that you mention?

          1 Reply Last reply Reply Quote 0
          • JKSH
            JKSH Moderators last edited by

            [quote author="MeowMeow" date="1375842736"]I installed gstreamer-0.10.36 and gst-plugins-good, bad,ugly, ffmpeg...
            Is it enough?[/quote]No, those are runtime packages, not development packages.

            [quote]What's dev package that you mention?[/quote]It should look like libgstreamer0.10-dev

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply Reply Quote 0
            • M
              MeowMeow last edited by

              Dear JKSH,
              Thanks for your support.
              I installed libqtgstreamer-dev.
              But when I run configuration again nothing change.
              Does it need any more packages?

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                Did you just re-run configure or did you clean up before ?

                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 Reply Quote 0
                • M
                  MeowMeow last edited by

                  Dear SGaist,
                  Thanks for your advice.
                  I just rerun configuration,
                  Could you please tell me how to clean up old configuration on Qt5 without git?

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    IIRC, it should be

                    @make confclean@

                    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 Reply Quote 0
                    • M
                      MeowMeow last edited by

                      Dear SGaist
                      I tried and got error.
                      After searching on Google, I found that this command is not work with Qt5
                      Do you have any ideas?

                      1 Reply Last reply Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        Are you doing an out of source build ?

                        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 Reply Quote 0
                        • M
                          MeowMeow last edited by

                          I'm doing in qt-everywhere-opensource where I run command configuration.
                          It got error result, but when I try this command in qtbase it run successfully.
                          I run configuration again and nothing change.
                          Gstreamer is not enabled, and no information about it >"<

                          1 Reply Last reply Reply Quote 0
                          • SGaist
                            SGaist Lifetime Qt Champion last edited by

                            If you are using a source package I would say, delete your current sources and start from new.

                            Also, use the shadow build possibility, this way you can play with the configuration without cluttering your sources

                            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 Reply Quote 0
                            • M
                              MeowMeow last edited by

                              Dear SGalst,
                              Thanks for a lot of support you give to me.
                              Do you mean that I should delete the current qt-everywhere-opensource...
                              uncompress file and configuration again ?
                              I will try it .
                              I have one more question.
                              In my Qt configuration information, GLIB is disable,
                              If I want to enable Gstreamer, I need to enable GLIB, is it right ? or they don't have any relation ?

                              Again, thank you so much!

                              1 Reply Last reply Reply Quote 0
                              • SGaist
                                SGaist Lifetime Qt Champion last edited by

                                Yes, that's what I mean.

                                Disabled or not detected ?

                                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 Reply Quote 0
                                • M
                                  MeowMeow last edited by

                                  Dear SGalst,

                                  About Glib, when i run configuration, this information is displayed.
                                  @
                                  Glib auto-detection... ()
                                  ...
                                  lib/arm-linux-gnueabi/librt.so.1: could not read symbols: Invalid operation
                                  collect2: ld returned 1 exit status
                                  make: *** [glib] Error 1
                                  Glib disabled.
                                  @

                                  And in configuration table

                                  @
                                  ...
                                  Glib support ........... no
                                  GStreamer support ...... no
                                  PulseAudio support ..... no
                                  Large File support ..... yes
                                  GIF support ............ plugin
                                  JPEG support ........... plugin (system)
                                  PNG support ............ yes (qt)
                                  ...
                                  @

                                  1 Reply Last reply Reply Quote 0
                                  • SGaist
                                    SGaist Lifetime Qt Champion last edited by

                                    Are you cross-compiling Qt ?

                                    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 Reply Quote 0
                                    • M
                                      MeowMeow last edited by

                                      Yes. It's cross-compiling.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MeowMeow last edited by

                                        Yes, it's cross-compiling.

                                        1 Reply Last reply Reply Quote 0
                                        • SGaist
                                          SGaist Lifetime Qt Champion last edited by

                                          That's the kind of detail you should have mention earlier...

                                          First thing, did you install a cross-compiling environment ? Did you pass the correct parameters to configure to enable cross-compilation ? Did you get the cross-compiled version of the dependencies you need ?

                                          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 Reply Quote 0
                                          • M
                                            MeowMeow last edited by

                                            Dear SGalt,
                                            Sorry about mention cross-compiling lately.
                                            The cross-compiling is installed in my system, it is linaro-arm-linux-
                                            About parameters to configure, I think Qt can autodetect Gstreamer so I don't pass any option for Gstreamer in command.
                                            When configuration, nomally it will display information why option is disable, which errors occurs... so I can fix errors and option is enable . With Gstreamer, nothing to display, it makes me confusion.
                                            Thank for your support.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post