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:
So does anyone meet the same problem?
Do I need to set more parameters?
Thanks a lot.