I'm trying to develop a speech-to-text-input with the Windows.Media.SpeechRecognition namespace as described here: https://msdn.microsoft.com/en-us/library/windows.media.speechrecognition.aspx
Now, I'm working in Qt and apparently, there's no such thing as a Windows namespace:
using namespace Windows::Media::SpeechRecognition;
int main(int argc, char *argv[])
{
SpeechRecognizer speechRecognizer = new SpeechRecognizer();
//...
return 0;
}
results in
C2653: "Windows" no class or namespace
Okay, so I figured I might have to include something or add a library to my pro-file, but I can't find anything about what and where to get it.
In case the question comes up: I'm using this, because I need the speech input to accept languages other than English only.