UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    QtMultimedia is not installed

    Scheduled Pinned Locked Moved App Development
    7 Posts 4 Posters 1.5k Views 1 Watching
    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.
      • 0 Offline
        007fred50
        last edited by

        Hello,

        Can someone help me with this here? I trying to get sound works on ubuntu touch / An App

        import QtMultimedia 5.15
        
        SoundEffect {
          id: alarmPlaySound
          source: "alarm.wav"
        }
        
        alarmPlaySound.start()
        

        But i got this error "module "QtMultimedia" version 5.15 is not installed"

        I have search around google but only found this here "sudo apt-get install libqt5multimedia5-plugins qml-module-qtmultimedia"

        still same error 😕

        Thanks for your time !

        Best Regards
        007fred50

        1 Reply Last reply Reply Quote 0
        • 0 Offline
          007fred50
          last edited by

          @007fred50 said in QtMultimedia is not installed:

          import QtMultimedia 5.15

          change import QtMultimedia 5.15 To import QtMultimedia 5.5

          And it works now 🙂

          saveurlinuxS 1 Reply Last reply Reply Quote 0
          • saveurlinuxS Offline
            saveurlinux @007fred50
            last edited by

            @007fred50 said in QtMultimedia is not installed:

            @007fred50 said in QtMultimedia is not installed:

            import QtMultimedia 5.15

            change import QtMultimedia 5.15 To import QtMultimedia 5.5

            And it works now 🙂

            By the way, how to now wich version of lib to use ?

            0 lduboeufL 2 Replies Last reply Reply Quote 0
            • 0 Offline
              007fred50 @saveurlinux
              last edited by

              @saveurlinux said in QtMultimedia is not installed:

              By the way, how to now wich version of lib to use ?

              What works for me.

              sudo apt-get install libqt5multimedia5-plugins qml-module-qtmultimedia
              import QtMultimedia 5.5
              
              

              Best Regards
              007fred50

              1 Reply Last reply Reply Quote 1
              • 0 Offline
                007fred50
                last edited by

                by the way emulator on sound does not work. i have to work on real devices. that issues does i have

                AppLeeA 1 Reply Last reply Reply Quote 0
                • AppLeeA Offline
                  AppLee @007fred50
                  last edited by

                  Hi @007fred50
                  Have you tried the beta version of Clickable ?
                  It's been released this week.
                  I'm not sure it will fix the issue though but it's worth a try IMHO.

                  1 Reply Last reply Reply Quote 0
                  • lduboeufL Offline
                    lduboeuf @saveurlinux
                    last edited by

                    @saveurlinux

                    By the way, how to now wich version of lib to use ?

                    The lib version is correlated now with the installed Qt version ( currebtly 5.12 ) so Multimedia should be 5.12

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