Spellchecking for QTextEdit on Mac OS X
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:
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.
More on Qt
- Security advisory: Multiple third-party Chromium vulnerabilities fixed in Chrome 153.0.8010.52 impact Qt WebEngine
- Security advisory: Multiple third-party Chromium vulnerabilities fixed in Chrome 154.0.8037.93 impact Qt WebEngine
- Security advisory: CVE-2026-118968: Denial-of-service vulnerability in WAV audio decoding impacts Qt