Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error on QMultimedia on Rpi

Error on QMultimedia on Rpi

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 1.1k Views
  • 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.
  • K Offline
    K Offline
    KenoRosarioPH
    wrote on last edited by
    #1

    I have my .pro written as ```
    QT += core gui
    QT += multimedia

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = Estet
    TEMPLATE = app

    SOURCES += main.cpp
    electronicstethoscope.cpp

    HEADERS += electronicstethoscope.h

    FORMS += electronicstethoscope.ui

    
    
    error says  **cannot find -lQtMultimedia** & **collect2: ld returned 1 exit status**
    raven-worxR 1 Reply Last reply
    0
    • K KenoRosarioPH

      I have my .pro written as ```
      QT += core gui
      QT += multimedia

      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

      TARGET = Estet
      TEMPLATE = app

      SOURCES += main.cpp
      electronicstethoscope.cpp

      HEADERS += electronicstethoscope.h

      FORMS += electronicstethoscope.ui

      
      
      error says  **cannot find -lQtMultimedia** & **collect2: ld returned 1 exit status**
      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @KenoRosarioPH
      and you are sure that the QtMultimedia module is available?
      Did you compile Qt from source?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • K Offline
        K Offline
        KenoRosarioPH
        wrote on last edited by
        #3

        I just followed the installation guide stated here https://wiki.qt.io/Apt-get_Qt4_on_the_Raspberry_Pi. Does this led me to a wrong installation?

        1 Reply Last reply
        0
        • raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          seems like QtMultimedia isn't contained in linux installation packages. I guess this has some reasons related to the available backend? I dont know.
          I am afraid you need to compile (or cross compile) Qt yourself.
          Best use the gstreamer backend for QtMultimedia on the RPi.
          There should be some material on the web.

          But before try some precompiled binaries to safe some work and time. (Qt5 though)

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          K 1 Reply Last reply
          0
          • raven-worxR raven-worx

            seems like QtMultimedia isn't contained in linux installation packages. I guess this has some reasons related to the available backend? I dont know.
            I am afraid you need to compile (or cross compile) Qt yourself.
            Best use the gstreamer backend for QtMultimedia on the RPi.
            There should be some material on the web.

            But before try some precompiled binaries to safe some work and time. (Qt5 though)

            K Offline
            K Offline
            KenoRosarioPH
            wrote on last edited by
            #5

            @raven-worx Thankyou Sir! But since you suggested to i found this site http://loydcraft.com/2015/01/28/qt5-compiled-for-raspberry-pi/ and sucessfully downloaded and install qt5. I am having a hard time now to have qt creator to utilize qt5. Google said that Qt 2.6 and up will do.

            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