Rather old thread, but, anyway,...
spellchecker.cpp contains a bug (well, two, actually) in the constructor:
	
	- QString-  dictFile  =-  dictionaryPath  + ".dic"- ; 
 
- QString-  affixFile  =-  dictionaryPath  + ".aff"- ; 
 
- QByteArray-  dictFilePathBA  =-  dictFile. toLocal8Bit()- ; 
 
- QByteArray-  affixFilePathBA  =-  dictFile. toLocal8Bit()- ; 
 
- _hunspell = new Hunspell(dictFilePathBA.constData(), affixFilePathBA.constData()); 
        QString dictFile = dictionaryPath + ".dic";
QString affixFile = dictionaryPath + ".aff";
QByteArray dictFilePathBA = dictFile.toLocal8Bit();
QByteArray affixFilePathBA = dictFile.toLocal8Bit();
_hunspell = new Hunspell(dictFilePathBA.constData(), affixFilePathBA.constData());
To copy to clipboard, switch view to plain text mode 
  
should be replaced by:
	
	- QString-  dictFile  =-  dictionaryPath  + ".dic"- ; 
 
- QString-  affixFile  =-  dictionaryPath  + ".aff"- ; 
 
- QByteArray-  dictFilePathBA  =-  dictFile. toLocal8Bit()- ; 
 
- QByteArray-  affixFilePathBA  =-  affixFile. toLocal8Bit()- ; 
 
- _hunspell = new Hunspell(affixFilePathBA.constData(), dictFilePathBA.constData()); 
        QString dictFile = dictionaryPath + ".dic";
QString affixFile = dictionaryPath + ".aff";
QByteArray dictFilePathBA = dictFile.toLocal8Bit();
QByteArray affixFilePathBA = affixFile.toLocal8Bit();
_hunspell = new Hunspell(affixFilePathBA.constData(), dictFilePathBA.constData());
To copy to clipboard, switch view to plain text mode 
  
Nick
				
			
Bookmarks