Qt multimedia error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Qt multimedia error

1,744 次查看
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.

标签 (1)
0 项奖励
1 回复

417 次查看
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 项奖励