Navigation

    UBports Robot Logo

    UBports Forum

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

    QtMultimedia is not installed

    App Development
    4
    7
    575
    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
      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
        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 🙂

        saveurlinux 1 Reply Last reply Reply Quote 0
        • saveurlinux
          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 lduboeuf 2 Replies Last reply Reply Quote 0
          • 0
            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
              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

              AppLee 1 Reply Last reply Reply Quote 0
              • AppLee
                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
                • lduboeuf
                  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