Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Volume functionality in qml for music player
Qt 6.11 is out! See what's new in the release blog

Volume functionality in qml for music player

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 1.3k Views 2 Watching
  • 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.
  • Naveen_DN Offline
    Naveen_DN Offline
    Naveen_D
    wrote on last edited by
    #1

    Hi all,
    I am developing a music player in qml, using Qt ver 5.6. i want to know how to give the volume functionality in QML, AFAIK there is a new method introduced in the latest version of Qt i.e 5.8 (property real volume: QtMultimedia.convertVolume(...) ) which can only be used with QtMultimedia 5.4 or 5.5, but i am using QtMultimedia 5.0 or 5.1. Can anyone guide me how to do this? Thanks

    Naveen_D

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you want to use a feature from a newer version of library while using an older one, then your only choice is to back port it.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Naveen_DN 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        If you want to use a feature from a newer version of library while using an older one, then your only choice is to back port it.

        Naveen_DN Offline
        Naveen_DN Offline
        Naveen_D
        wrote on last edited by
        #3

        @SGaist Thanks for the reply,
        Back porting, how can i do that?

        Naveen_D

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          It depends but usually it involves a lot of sweat.

          Back porting means that you have to find the differences between your version of the code and the one you would like to use and then apply these changes. And you have to take into account that it might span more than just the class you want to get the improvement for.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - 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