SpellChecker Plugin for Qt Creator
-
Hi,
I have finally gotten around to upload and release a spell checker plugin that I have been working on for Qt Creater, the "SpellChecker":https://github.com/CJCombrink/SpellChecker-Plugin Plugin. For more information please read the README on the supplied link.
This is the first release, it might contain some bugs and instabilities but any feedback will be welcome. It is also my first open-source project so I still have a lot to learn.
With this release I want to ask the question , is it necessary to be backwards compatible with Qt Creator in the sources? A few things have changed in the Qt Creator API and plugins during development but I just updated the code.
Do I need to make provision for previous releases, like with pre-processor macros & #defines so that new features and updates can be used in older versions of Qt Creator? -
Hi,
Looks interesting ! Thanks :)
-
@Badger: There are no rules about what is necessary or not for plugins that are maintained outside the Qt Creator sources themselves. It is completely up to you to choose which versions you want to support.
-
SpellChecker 1.2.0 works great on macOS Sierra with Qt Creator 4.6 and Hunspell 1.7.0.
-
http://pankdm.github.io/hunspell.html
brew install hunspell
and may require
sudo ln -s /usr/local/lib/libhunspell-1.7.dylib /usr/local/lib/libhunspell.dylib
sudo ln -sf /usr/local/lib/libhunspell-1.7.a /usr/local/lib/libhunspell.a -
SpellChecker 1.2.0 compiled from source https://github.com/CJCombrink/SpellChecker-Plugin/releases with Qt Creator 4.6.
/Users/myuser/Documents/qtc/qt-creator-opensource-src-4.6.0/src/plugins/plugins.pro
SUBDIRS = \
spellchecker \
...
/Users/myuser/Documents/qtc/qt-creator-opensource-src-4.6.0/src/plugins/spellchecker/spellchecker_local_paths.pri
LOCAL_QTCREATOR_SOURCES=/Users/myuser/Documents/qtc/qt-creator-opensource-src-4.6.0
unix {
Debug :LOCAL_IDE_BUILD_TREE=/Users/myuser/Documents/qtc/build-qtcreator-Desktop_Qt_5_10_1_clang_64bit-Debug
Release:LOCAL_IDE_BUILD_TREE=/Users/myuser/Documents/qtc/build-qtcreator-Desktop_Qt_5_10_1_clang_64bit-Release
LOCAL_HUNSPELL_LIB_DIR=/usr/local/lib
LOCAL_HUNSPELL_SRC_DIR=/usr/local/include
}Plan to test with Qt Creator 4.8.
Thanks! -