AudioRecorder example
-
In the AudioRecorder example, when I open audiorecorder.cpp in Creator, lots of semantic errors:
ui->setupUi(this); * cannot initialize a parameter of type 'QMainWindow *' with an rvalue of type 'AudioRecorder *'
m_audioRecorder = new QAudioRecorder(this); * no matching constructor for initialization of "QAudioRecorder'
for (auto &device: m_audioRecorder->audioInputs()) { * invalid range expression of type 'QStringList'; no viable 'begin' function available
etc.
Yet I am able to build and run the example. What could be generating these "errors"? Is there something in Tools:Options that I missed?