Results 1 to 1 of 1

Thread: QtMultimedia on Raspbian

  1. #1
    Join Date
    Jan 2016
    Posts
    81
    Thanks
    31
    Qt products
    Qt5
    Platforms
    Windows

    Default QtMultimedia on Raspbian

    Hi,
    I tried to deploy an application Qt on Raspbian (in raspberry pi 3).
    Qt Creator 3.2.1
    Based on Qt 5.3.2 (GCC 4.9.2, 32 bit)

    Debuggers: System GDB at /usr/bin/gdb/bin/gdb GDB
    Compiler: /usr/bin/arm-linux-gnueabihf-gcc-4.9
    Qt Version: Qt 5.3.2 (qt5) /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake

    I have a problem when I want execute my application :
    Qt Code:
    1. Error: Could not load: qrc:/main.qml:7 module "QtMultimedia" is not installed
    To copy to clipboard, switch view to plain text mode 


    I tried to deploy an application Qt on Raspbian (in raspberry pi 3).

    Qt Creator 3.2.1
    Based on Qt 5.3.2 (GCC 4.9.2, 32 bit)
    Debuggers: System GDB at /usr/bin/gdb/bin/gdb GDB
    Compiler: /usr/bin/arm-linux-gnueabihf-gcc-4.9
    Qt Version: Qt 5.3.2 (qt5) /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake
    I have a problem when I want execute my application :

    Error: Could not load: qrc:/main.qml:7 module "QtMultimedia" is not installed
    Line 7:

    Qt Code:
    1. import QtMultimedia 5.0
    To copy to clipboard, switch view to plain text mode 
    I use camera in qml.

    Qt Code:
    1. Camera {
    2. id: camera
    3. imageProcessing.whiteBalanceMode:
    4. CameraImageProcessing.WhiteBalanceFlash
    To copy to clipboard, switch view to plain text mode 

    My app.pro:
    Qt Code:
    1. Qt += multimedia
    To copy to clipboard, switch view to plain text mode 
    I install:
    Qt Code:
    1. qtdeclarative5-dev, qtmobility-dev, qtdeclarative5-qtmultimedia-plugin
    To copy to clipboard, switch view to plain text mode 
    and
    Qt Code:
    1. sudo apt-get install libfontconfig1-dev libdbus-1-dev libfreetype6-dev libudev-dev libicu-dev libsqlite3-dev libxslt1-dev libssl-dev libasound2-dev libavcodec-dev libavformat-dev \
    2. libswscale-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev gstreamer-tools gstreamer0.10-plugins-good gstreamer0.10-plugins-bad libraspberrypi-dev libpulse-dev \
    3. libx11-dev libglib2.0-dev libcups2-dev freetds-dev libsqlite0-dev libpq-dev libiodbc2-dev libmysqlclient-dev firebird-dev libpng12-dev libjpeg9-dev libgst-dev libxext-dev libxcb1 \
    4. libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev \
    5. libxcb-sync0 libxcb-sync1-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-glx0-dev libxi-dev libdrm-dev gstreamer0.10-alsa
    To copy to clipboard, switch view to plain text mode 

    and
    Qt Code:
    1. sudo apt-get install gstreamer1.0 libgstreamer-plugins-bad1.0-dev libgstreamer-plugins-base1.0-dev
    To copy to clipboard, switch view to plain text mode 

    But I have same error.
    Last edited by neda; 30th May 2017 at 12:38.

Similar Threads

  1. QtMultimedia not included
    By dott_infernus in forum Installation and Deployment
    Replies: 1
    Last Post: 4th April 2013, 17:05
  2. [QT5] QtMultimedia | i can`t get metadata
    By petrusPL in forum Newbie
    Replies: 0
    Last Post: 27th February 2013, 15:16
  3. Some questions about QtMultimedia
    By aguayro in forum Newbie
    Replies: 4
    Last Post: 22nd January 2013, 23:22
  4. Replies: 2
    Last Post: 20th January 2013, 15:29
  5. QtMultimedia module in QT 4.5
    By vijay_kansal in forum Qt Programming
    Replies: 8
    Last Post: 12th December 2010, 12:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.