Spellchecking for QTextEdit on Mac OS X

· by admin · 1 min read · original post ↗

·

A nice feature of Mac OS X is that every text edit field has spell checking built in. Getting this for QTextEdit is possible with Qt today but is a bit involved since you have to write a few lines of code and interact with NSSpellChecker using Objective-C. So, to save people from having to learn a strange new language I’ve created the QtMacSpellCheckingTextEdit class:

Spellchecker in action

The code is available here under the GPL license, and it will also be a part of the next Qt Solutions release with a commercial license. The next step will probably be to make this cross-platform by integrating with other spell checking engines such as Aspell and Ispell.

Qt

More on Qt

More from admin