Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling on QT Multimedia on the RasberryPi
Forum Updated to NodeBB v4.3 + New Features

Compiling on QT Multimedia on the RasberryPi

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 1.1k Views 1 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.
  • H Offline
    H Offline
    hesperx
    wrote on last edited by
    #1

    Hi Everyone, just looking for some general guidance to point me in the right direction.

    I would like to natively compile and use the Qt Multimedia so I can use the QMediaPlayer class on Rasberry Pi.

    Would following this tutorial help me achieve this?

    http://qt-project.org/wiki/Native_Build_of_Qt5_on_a_Raspberry_Pi

    Would compiling Qtbase mean I get all the modules including QtMultimedia? And do I really need all this?

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

      Hi and welcome to devnet,

      Yes it will.

      No, for that you have to follow the guide which says to clone the qt5 git repository which will contain among other modules QtMultimedia.

      Do you really need all of Qt 5 ? That answer is up to you, what part of Qt do you need for your application ?

      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
      • H Offline
        H Offline
        hesperx
        wrote on last edited by
        #3

        Thanks for the reply and the kind welcome.

        I think Qt is quite awesome because it can run on Arm architectures and is packed with features.

        To answer your question, what do I need to use? At the moment, the only reason I want to compile Qt is to use only 1 class - QMediaPlayer which belongs to the multimedia package. So I definitely do not need to compile the whole thing, but I couldn't find a guide that shows me how to compile it separately.

        Thanks I appreciate you pointing me in jhe right direction.

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

          Then you can follow the guide but call configure directly in qtbase, this way you will only have this module. Next step, build and install it.

          From thee, create a new subfolder for qtmultimedia go into it and call your installed qmake with /path/to/qtmultimedia/sources as parameter. Then make and sudo make install. Take the time to look at the configuration tests to see whether it finds everything it needs to build the module

          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