Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Enable Gstreamer in Qt5 configuration
QtWS25 Last Chance

Enable Gstreamer in Qt5 configuration

Scheduled Pinned Locked Moved Installation and Deployment
49 Posts 8 Posters 39.1k 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.
  • M Offline
    M Offline
    MeowMeow
    wrote on 7 Aug 2013, 06:43 last edited by
    #5

    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
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 7 Aug 2013, 07:49 last edited by
      #6

      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
      0
      • M Offline
        M Offline
        MeowMeow
        wrote on 7 Aug 2013, 08:58 last edited by
        #7

        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
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Aug 2013, 08:58 last edited by
          #8

          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
          0
          • M Offline
            M Offline
            MeowMeow
            wrote on 7 Aug 2013, 09:43 last edited by
            #9

            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
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 7 Aug 2013, 09:47 last edited by
              #10

              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
              0
              • M Offline
                M Offline
                MeowMeow
                wrote on 7 Aug 2013, 10:32 last edited by
                #11

                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
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 7 Aug 2013, 12:24 last edited by
                  #12

                  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
                  0
                  • M Offline
                    M Offline
                    MeowMeow
                    wrote on 7 Aug 2013, 13:01 last edited by
                    #13

                    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
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 7 Aug 2013, 13:50 last edited by
                      #14

                      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
                      0
                      • M Offline
                        M Offline
                        MeowMeow
                        wrote on 7 Aug 2013, 14:26 last edited by
                        #15

                        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
                        0
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 7 Aug 2013, 14:34 last edited by
                          #16

                          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
                          0
                          • M Offline
                            M Offline
                            MeowMeow
                            wrote on 7 Aug 2013, 17:05 last edited by
                            #17

                            Yes. It's cross-compiling.

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              MeowMeow
                              wrote on 7 Aug 2013, 17:08 last edited by
                              #18

                              Yes, it's cross-compiling.

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 7 Aug 2013, 19:52 last edited by
                                #19

                                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
                                0
                                • M Offline
                                  M Offline
                                  MeowMeow
                                  wrote on 8 Aug 2013, 01:17 last edited by
                                  #20

                                  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
                                  0
                                  • M Offline
                                    M Offline
                                    MeowMeow
                                    wrote on 8 Aug 2013, 05:23 last edited by
                                    #21

                                    Are there any ideas?

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on 8 Aug 2013, 08:28 last edited by
                                      #22

                                      You're configuration process fails while testing glib, do you have it for ARM ? Also can you post your complete configure command ?

                                      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
                                      • M Offline
                                        M Offline
                                        MeowMeow
                                        wrote on 8 Aug 2013, 12:20 last edited by
                                        #23

                                        Dear SGalt,
                                        I have just installed glib2.0, libglib2.0, libglib2.0-dev, libqtglib2.0 before.
                                        @
                                        ../gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux/bin/arm-linux-gnueabi-g++ --sysroot=[TARGET_ROOTFS] -o glib glib.o -L[TARGET_ROOTFS]/usr/lib -L[TARGET_ROOTFS]/usr/lib/arm-linux-gnueabi -L[TARGET_ROOTFS/lib/arm-linux-gnueabi -lpthread -ldl -lGLESv2 -lEGL -lIMGegl -lsrv_um -lgmodule-2.0 -lgobject-2.0 -lffi -ldbus-1 -lpcre --sysroot=[TARGET_ROOTFS] -pthread -lgthread-2.0 -lrt -lglib-2.0

                                        /arm-linux-gnueabi/bin/ld: note: 'clock_gettime@@GLIBC_2.4' is defined in DSO ../lib/arm-linux-gnueabi/librt.so.1 so try adding it to the linker command line
                                        /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.
                                        @
                                        librt.so.1 exist in /lib/arm-linux-gnueabi
                                        I try to search solution in Google and many answer is add " -lrt" but you can see that it exist in my command.

                                        This is my complete configure command
                                        @
                                        ./configure -confirm-license -opensource -v -arch arm -device linux-xxx-g++ -prefix /opt/share/qt5 -device-option CROSS_COMPILE=/home/gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux/bin/arm-linux-gnueabi- -sysroot /home/rootfs_br -debug -continue -opengl es2 -pkg-config -dbus -icu
                                        @

                                        Note : linux-xxx-g++ exist in qt-everywhere.../qtbase/mkspecs/devices/

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on 8 Aug 2013, 14:00 last edited by
                                          #24

                                          Since you are cross-compiling, you also need to either get the ARM version of these libraries or cross-compile them.

                                          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

                                          14/49

                                          7 Aug 2013, 13:50

                                          topic:navigator.unread, 35
                                          • Login

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