[Development] Dictation Issues with Qt-built software

Morten Sorvig Morten.Sorvig at qt.io
Fri Nov 4 12:51:14 CET 2016


> On 4 Nov 2016, at 09:53, Robert Iakobashvili <coroberti at gmail.com> wrote:
> 
> On Thu, Nov 3, 2016 at 3:50 PM, Morten Sorvig <Morten.Sorvig at qt.io> wrote:
>>> People cannot dictate to Qt-software at Mac as filed:
>>> https://bugreports.qt.io/browse/QTBUG-56811
>> 
>> Hi,
>> 
>> I see two possible ways to solve this:
>> 
>> 1) Add cross-platform speech-to-text capabilities to Qt’s text input classes.
>> This would be implemented using native API such as NSSpeechRecognizer, or an
>> open source speech recognition library bundled with Qt. The behavior we get from
>> this option may not be exactly native.
>> 
>> 2) Use NSTextField in Qt applications. This gives us the exact native behavior,
>> for speech recognition and everything else, including future NSTextEdit features.
>> However, NSTextEdit would integrate on the QWindow level, and not for example
>> as a Qt Quick scene graph item.
>> 
>> Neither of these are straightforward, which is one reason why the bug remains
>> open.
> 
> Users are wondering why Qt-applications at Mac are not behaving like others.
> They are expecting to be the same as TextEdit, Pages, Word, Safari, Firefox.

Qt text edit support is more like the Google Docs editor in this regard; a custom
implementation that may not support all native features. But I do agree that
users are right in expecting that this should work.

Morten


More information about the Development mailing list