0

I'm using Qt 5.1.1, Qt Creator 2.8.1 on Win7. When I compile program I get lots of this type errors:

*.cpp:85: undefined reference to `imp__ZN12QAudioFormatC1Ev'

When I double click to them It refers to this part of code:

 QAudioFormat format;
 format.setSampleRate(channel->payloadType().clockrate());
 format.setChannelCount(channel->payloadType().channels());
 format.setSampleSize(16);
 format.setCodec("audio/pcm");
 format.setByteOrder(QAudioFormat::LittleEndian);
 format.setSampleType(QAudioFormat::SignedInt);

My .pro file:

...
QT += core gui network xml multimedia
CONFIG += mobility
MOBILITY += multimedia
...

Where is my error? Thank you before hand.

Bobur
  • 21
  • 6

0 Answers0