You are not logged in.

#1 2010-12-22 01:53:47

kaizoku
Member
Registered: 2009-01-09
Posts: 62

Missing QtMultimedia implementations?

Hello,

All the includes in QtMultimedia such as QAudioFormat seems to throw errors.

When I declare something like this.

#include <QtMultimedia/QAudioFormat>
QAudioFormat format;

it gives

... undefined reference to `QAudioFormat::QAudioFormat()'

Any advice?

Last edited by kaizoku (2010-12-22 01:54:12)

Offline

#2 2010-12-22 19:14:51

andr3as
Member
Registered: 2008-10-06
Posts: 53

Re: Missing QtMultimedia implementations?

Have you tried linking the program against libQtMultimedia?

Offline

#3 2010-12-24 16:32:44

Watermel0n
Member
Registered: 2010-03-10
Posts: 60

Re: Missing QtMultimedia implementations?

In your *.pro file link to QtMultimedia like this:
QT += multimedia
Then use qmake and make the project again.

Offline

Board footer

Powered by FluxBB