Qt Forum

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

    Unsolved QT5.8 multimeadia module mediaplay failed

    General and Desktop
    2
    15
    1733
    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.
    • J
      JiujiuTong last edited by 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 1 Reply Last reply Reply Quote 0
      • J
        JiujiuTong @JiujiuTong last edited by 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 !

        jsulm 1 Reply Last reply Reply Quote 0
        • jsulm
          jsulm Lifetime Qt Champion @JiujiuTong last edited by

          @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 Reply Quote 0
          • J
            JiujiuTong @jsulm last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • J
              JiujiuTong @jsulm last edited by

              @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?

              jsulm 1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion @JiujiuTong last edited by

                @JiujiuTong Is your app 32bit or 64bit?

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

                J 1 Reply Last reply Reply Quote 0
                • J
                  JiujiuTong @jsulm last edited by

                  @jsulm
                  it should be 64bit .

                  jsulm 1 Reply Last reply Reply Quote 0
                  • jsulm
                    jsulm Lifetime Qt Champion @JiujiuTong last edited by

                    @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 Reply Quote 0
                    • J
                      JiujiuTong @jsulm last edited by 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

                      jsulm 1 Reply Last reply Reply Quote 0
                      • jsulm
                        jsulm Lifetime Qt Champion @JiujiuTong last edited by

                        @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 Reply Quote 0
                        • J
                          JiujiuTong @jsulm last edited by

                          @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 Reply Quote 0
                          • J
                            JiujiuTong @jsulm last edited by

                            @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 ?

                            jsulm 1 Reply Last reply Reply Quote 0
                            • jsulm
                              jsulm Lifetime Qt Champion @JiujiuTong last edited by

                              @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 Reply Quote 0
                              • J
                                JiujiuTong @jsulm last edited by

                                @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?

                                jsulm 1 Reply Last reply Reply Quote 0
                                • jsulm
                                  jsulm Lifetime Qt Champion @JiujiuTong last edited by

                                  @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 Reply Quote 0
                                  • First post
                                    Last post