diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-10-19 12:30:05 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2021-10-28 11:42:35 +0200 |
commit | f2dc94aca3ca8417e73bf914fe3fd3b59eefc19f (patch) | |
tree | 000ce64de0d74a47094a2a5b99a30e941db42fcd /examples | |
parent | c733f89eaf0c6bf70ab35666a4ef38490abca828 (diff) |
Fix some issues with icu for dict tool
The dict tool can be run during the build, therefore
copy just in case icu data file to tool application path,
so it does not require installation and can
run no matter if it is a prefix non prefix build.
Guard for webengine_system_icu since there is no icu file
in that case.
Remove awesome looking genex from examples.
Pick-to: 6.2
Change-Id: I2fd5ecf6c99ae1d003a1ac1c7bce2bb61a05f73f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/webenginewidgets/spellchecker/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/webenginewidgets/spellchecker/CMakeLists.txt b/examples/webenginewidgets/spellchecker/CMakeLists.txt index 5cec0087d..16bb677c5 100644 --- a/examples/webenginewidgets/spellchecker/CMakeLists.txt +++ b/examples/webenginewidgets/spellchecker/CMakeLists.txt @@ -74,7 +74,6 @@ foreach(dictFile ${dicts}) PRE_BUILD COMMAND ${CMAKE_COMMAND} -E make_directory ${spellcheckerDir} COMMAND ${CMAKE_COMMAND} -E env - $<IF:$<BOOL:${WEBENGINE_MODULE_BUILD}>,QT_WEBENGINE_ICU_DATA_DIR=${CMAKE_CURRENT_BINARY_DIR}/../../../resources,CMAKE=AWESOME> $<TARGET_FILE:${QT_CMAKE_EXPORT_NAMESPACE}::qwebengine_convert_dict> ${CMAKE_CURRENT_SOURCE_DIR}/dict/${dictFile} ${spellcheckerDir}/${dictName}.bdic COMMENT "Running qwebengine_convert_dict" |