• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 5 Nov 2021, 12:05

      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 5 Nov 2021, 14:01

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

        S 1 Reply Last reply 5 Nov 2021, 18:14 Reply Quote 0
        • S Offline
          saveurlinux @007fred50
          last edited by 5 Nov 2021, 18:14

          @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 L 2 Replies Last reply 5 Nov 2021, 18:20 Reply Quote 0
          • 0 Offline
            007fred50 @saveurlinux
            last edited by 5 Nov 2021, 18:20

            @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 5 Nov 2021, 18:24

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

              A 1 Reply Last reply 6 Nov 2021, 09:02 Reply Quote 0
              • A Offline
                AppLee @007fred50
                last edited by 6 Nov 2021, 09:02

                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
                • L Offline
                  lduboeuf @saveurlinux
                  last edited by 7 Nov 2021, 20:53

                  @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
                  2 out of 7
                  • First post
                    2/7
                    Last post