summaryrefslogtreecommitdiffstats
path: root/src/tools/qwebengine_convert_dict/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix qwebengine_convert_dict to work with macOS framework buildAlexandru Croitor2017-05-161-0/+16
| | | | | | | | | | | | | | | The ICU data file in a macOS framework build is located inside the QtWebEngineCore.framework/Resources directory. The dictionary conversion tool looked for the ICU data file only in the installed Qt location directory, which is incorrect, thus leading to a conversion failure. The fix is to check for the data file in the QtWebEngineCore framework directory. Task-number: QTBUG-60707 Change-Id: Ic2325e2b5a5db4e7cbcea3bed92755d5f8b92f95 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix building spellchecker example when Qt is not yet installedAlexandru Croitor2017-02-211-3/+28
| | | | | | | | | | | | | | | | During the build of the spellchecker example, the dictionary conversion tool is executed to convert some dictionaries. The tool will fail to find the ICU data file because the file is not present at the Qt install location at examples build time. The fix is to allow passing the ICU data directory via an environment variable. Specifically the QtWebEngine build directory which contains the ICU data file will be passed when the spellchecker example is built. Task-number: QTBUG-58451 Change-Id: I6188f0b7aabe8b2e55cd2e0d59553282058c5035 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adds qwebengine_convert_dict toolMichal Klocek2016-05-061-0/+183
This is a tool which converts hunspell 'dic' dictionaries to binary 'bdic' format, which is required by spellchecker in chromium. Tool is compiled as a qt console application. It reuses linking information produced by gyp. This tool cannot be used in cross-builds due to limitations of the gyp-based build system. Change-Id: Ibee8cbc6048b522c0e4fe22b21c91c649c8515bc Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>