Qt multimedia error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Qt multimedia error

1,742 Views
yiniguo
Contributor I

Hi all:

I’m now trying to build a media player on a ARM board, the cpu is freescale iMX6. System on board is ubuntu 12.04. And I have build a cross compiler for the board on my PC which is also running 12.04.
I’ve built a small program using QSound to play a wav file successfully on my computer.
But when I tried to compile it with cross compiler, a notice reads: “ Project ERROR: Unknown module(s) in QT: multimedia “ appeared.
In my .pro file, I’ve added QT += widgets multimedia.
And I’ve include <QSound> in my main.cpp.
And I’ve checked the cross compiler libs, there’s QSound there.

When compile programs for PC, I use g++.
And for the arm system, I use arm-fsl-linux-gnueabi-gcc.

I build the Qt5 cross compiler according to the website:

https://community.freescale.com/docs/DOC-94066

So does anyone meet the same problem?
Do I need to set more parameters?
Thanks a lot.

Labels (1)
0 Kudos
1 Reply

415 Views
yiniguo
Contributor I

And I've check the ../qt5/qtbase/mkspecs/modules

There's no file like qt_lib_multimedia.pri.

Is this the cause of the problem?

How can I install it back?

Thanks.

0 Kudos