I have built an app using Qt creator for symbiyan mobile; now, I am trying to convert it to a desktop app using Qt. But when I change the platform it shows a problem with QtMultimedia; more specifically, QAudioInput and QAudioOutput.
error: ISO C++ forbids declaration of ‘QAudioOutput’ with no type
error: ISO C++ forbids declaration of ‘QAudioInput’ with no type
How can I solve this problem?
And I have solved the problem. Thank you Luca for your help. Luca said to include QAudioOutput. But that was there always. I have told you earlier the app was first written for Symbian device. In symbian simulator the project file does not want the QtMultimedia declaration. But in the case of a desktop app it is important to write
then project can use QAudioInput or QAudioOutput.
Thanks Luca. Thanks all. My app now runs on the desktop environment.