While trying to build the spellchecker example with Qt 5.9 beta 3 on macOS, it fails with the following log:
18:20:32: Starting: "/usr/bin/make" /Volumes/T3/Dev/qt/official_qt590_beta3/5.9/clang_64/bin/qwebengine_convert_dict ../spellchecker/dict/en/en-US.dic qtwebengine_dictionaries/en-US.bdic Couldn't find ICU data directory. Please check that the following path exists: /Volumes/T3/Dev/qt/official_qt590_beta3/Examples/Qt-5.9/webenginewidgets/resources Alternatively provide the directory path via the QT_WEBENGINE_ICU_DAT_DIR environment variable. make: *** [qtwebengine_dictionaries/en-US.bdic] Error 1
It works fine for me with custom Qt 5.9 build which is a non-prefix build.
It might be a resurgence of https://bugreports.qt.io/browse/QTBUG-58451
|For Gerrit Dashboard: QTBUG-60707|
|194781,4||Fix qwebengine_convert_dict to work with macOS framework build||5.9.0||qt/qtwebengine||Status: MERGED||+2||0|
|194788,2||Remove duplicate installation of resource files||5.9||qt/qtwebengine||Status: MERGED||+2||0|