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. QT5.8 multimeadia module mediaplay failed

QT5.8 multimeadia module mediaplay failed

Scheduled Pinned Locked Moved Unsolved General and Desktop
15 Posts 2 Posters 2.4k 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.
  • J JiujiuTong

    i' ve witten a program under qt5.7 it works well, for some reason, i try to develop it under qt5.8 ,
    when start debug, there is an info:
    defaultServiceProvider:requestService():no service found for "org.qt-project.qt.mediaplayer"
    couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
    can some one helps me ? thank you !

    J Offline
    J Offline
    JiujiuTong
    wrote on last edited by JiujiuTong
    #2

    @JiujiuTong said in QT5.8 multimeadia module mediaplay failed:

    i' ve witten a program under qt5.7 it works well, for some reason, i try to develop it under qt5.8 ,
    when start debug, there is an info:
    defaultServiceProvider:requestService():no service found for "org.qt-project.qt.mediaplayer"
    couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
    can some one helps me ? thank you !

    when the infor promps the debug stop for sigabrt . many thanks !

    jsulmJ 1 Reply Last reply
    0
    • J JiujiuTong

      @JiujiuTong said in QT5.8 multimeadia module mediaplay failed:

      i' ve witten a program under qt5.7 it works well, for some reason, i try to develop it under qt5.8 ,
      when start debug, there is an info:
      defaultServiceProvider:requestService():no service found for "org.qt-project.qt.mediaplayer"
      couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
      can some one helps me ? thank you !

      when the infor promps the debug stop for sigabrt . many thanks !

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #3

      @JiujiuTong said in QT5.8 multimeadia module mediaplay failed:

      couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken

      Install libudev package

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 2 Replies Last reply
      0
      • jsulmJ jsulm

        @JiujiuTong said in QT5.8 multimeadia module mediaplay failed:

        couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken

        Install libudev package

        J Offline
        J Offline
        JiujiuTong
        wrote on last edited by
        #4
        This post is deleted!
        1 Reply Last reply
        0
        • jsulmJ jsulm

          @JiujiuTong said in QT5.8 multimeadia module mediaplay failed:

          couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken

          Install libudev package

          J Offline
          J Offline
          JiujiuTong
          wrote on last edited by
          #5

          @jsulm
          my host is Centos 64bit
          and i find the libudev.so under /usr/lib64/,
          is it matter? or how to set my qt env?

          jsulmJ 1 Reply Last reply
          0
          • J JiujiuTong

            @jsulm
            my host is Centos 64bit
            and i find the libudev.so under /usr/lib64/,
            is it matter? or how to set my qt env?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #6

            @JiujiuTong Is your app 32bit or 64bit?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            J 1 Reply Last reply
            0
            • jsulmJ jsulm

              @JiujiuTong Is your app 32bit or 64bit?

              J Offline
              J Offline
              JiujiuTong
              wrote on last edited by
              #7

              @jsulm
              it should be 64bit .

              jsulmJ 1 Reply Last reply
              0
              • J JiujiuTong

                @jsulm
                it should be 64bit .

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @JiujiuTong I'm not sure the problem is this libudev or missing GStreamer packages which are used by QtMultimedia.
                Maybe anybody else knows?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                J 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @JiujiuTong I'm not sure the problem is this libudev or missing GStreamer packages which are used by QtMultimedia.
                  Maybe anybody else knows?

                  J Offline
                  J Offline
                  JiujiuTong
                  wrote on last edited by JiujiuTong
                  #9

                  @jsulm
                  well ,thank you ,the problem is sloved, because the libudev.so is linked to a null path.Thank you!
                  another question:
                  I need to include activemq in my pro. and I download the source and install it, but the default is install under /usr/local/lib not /usr/lib64, and i include the path in .pro file, but the output of ldd is still linked to not found, how to fix this bug? thank you

                  jsulmJ 1 Reply Last reply
                  0
                  • J JiujiuTong

                    @jsulm
                    well ,thank you ,the problem is sloved, because the libudev.so is linked to a null path.Thank you!
                    another question:
                    I need to include activemq in my pro. and I download the source and install it, but the default is install under /usr/local/lib not /usr/lib64, and i include the path in .pro file, but the output of ldd is still linked to not found, how to fix this bug? thank you

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @JiujiuTong It should install in the same directory where your Qt libs are located. Did you use the correct qmake?
                    What path do you include in pro file?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    J 2 Replies Last reply
                    0
                    • jsulmJ jsulm

                      @JiujiuTong It should install in the same directory where your Qt libs are located. Did you use the correct qmake?
                      What path do you include in pro file?

                      J Offline
                      J Offline
                      JiujiuTong
                      wrote on last edited by
                      #11

                      @jsulm
                      sorry for my mistake, the libudev.so is linked to correct path ,but the issue still exist.
                      the acitvemq-cpp.so is resolved by ldconfig. thank you !
                      i need to solve the problem:
                      defaultServiceProvider:requestService():no service found for "org.qt-project.qt.mediaplayer"
                      couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken

                      1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @JiujiuTong It should install in the same directory where your Qt libs are located. Did you use the correct qmake?
                        What path do you include in pro file?

                        J Offline
                        J Offline
                        JiujiuTong
                        wrote on last edited by
                        #12

                        @jsulm
                        I install the acitvemq before qt, so do you think is is necessary to reinstall it again ?
                        the qmake make will install the activemq to Qt libs ?

                        jsulmJ 1 Reply Last reply
                        0
                        • J JiujiuTong

                          @jsulm
                          I install the acitvemq before qt, so do you think is is necessary to reinstall it again ?
                          the qmake make will install the activemq to Qt libs ?

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #13

                          @JiujiuTong Oh, sorry. ActiveMQ isn't a Qt project.
                          You can change the target directory from /usr/local/lib to /usr/lib64 when configuring ActiveMQ.

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          J 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            @JiujiuTong Oh, sorry. ActiveMQ isn't a Qt project.
                            You can change the target directory from /usr/local/lib to /usr/lib64 when configuring ActiveMQ.

                            J Offline
                            J Offline
                            JiujiuTong
                            wrote on last edited by
                            #14

                            @jsulm
                            but the default output file libactivemq-cpp.so , is it 32bit or 64bit? should i set some parameter to make it 64bit? it seems the default is 32bit .so file
                            and my app is 64bit, can i use 32bit lib?

                            jsulmJ 1 Reply Last reply
                            0
                            • J JiujiuTong

                              @jsulm
                              but the default output file libactivemq-cpp.so , is it 32bit or 64bit? should i set some parameter to make it 64bit? it seems the default is 32bit .so file
                              and my app is 64bit, can i use 32bit lib?

                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #15

                              @JiujiuTong You can easily check with:

                              file  libactivemq-cpp.so
                              

                              in a terminal.
                              Default is actually 64bit on a 64bit system.

                              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