summaryrefslogtreecommitdiffstats
path: root/src/tools/qwebengine_convert_dict/qwebengine_convert_dict.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qwebengine_convert_dict/qwebengine_convert_dict.pro')
-rw-r--r--src/tools/qwebengine_convert_dict/qwebengine_convert_dict.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/qwebengine_convert_dict/qwebengine_convert_dict.pro b/src/tools/qwebengine_convert_dict/qwebengine_convert_dict.pro
index 715081b5f..f2dbb12cf 100644
--- a/src/tools/qwebengine_convert_dict/qwebengine_convert_dict.pro
+++ b/src/tools/qwebengine_convert_dict/qwebengine_convert_dict.pro
@@ -23,4 +23,11 @@ INCLUDEPATH += $$CHROMIUM_SRC_DIR
SOURCES += \
main.cpp
+# Support converting dictionaries in a prefix build, by supplying
+# the path to the ICU data file located in the Qt build path, rather
+# than the install path (which is not present at build time).
+icu_data_dir.name = QT_WEBENGINE_ICU_DATA_DIR
+icu_data_dir.value = $$OUT_PWD/../../../src/core/$$getConfigDir()
+QT_TOOL_ENV = icu_data_dir
load(qt_tool)
+QT_TOOL_ENV =