[webkit-qt] QtWebkit 5.212 issue

Konstantin Tokarev annulen at yandex.ru
Mon May 11 03:46:56 PDT 2020



11.05.2020, 13:41, "Konstantin Tokarev" <annulen at yandex.ru>:
> 11.05.2020, 07:17, "Ramakanth Kesireddy" <rama.kesi at gmail.com>:
>>  Hi Konstantin,
>>
>>  Yes I donot need multimedia support. So disabled video and web audio as mentioned. However, got the below error:
>>
>>  CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
>>    Could NOT find Hyphen (missing: HYPHEN_INCLUDE_DIR HYPHEN_LIBRARIES)
>>  Call Stack (most recent call first):
>>    /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
>>    Source/cmake/FindHyphen.cmake:37 (find_package_handle_standard_args)
>>    Source/cmake/OptionsQt.cmake:842 (find_package)
>>    Source/cmake/WebKitCommon.cmake:51 (include)
>>    CMakeLists.txt:137 (include)
>>
>>  So used the below cmake options to disable -DUSE_LIBHYPHEN:
>>
>>  cmake -DPORT=Qt -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=arm -DCMAKE_SYSROOT=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi -DCMAKE_C_COMPILER=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -DCMAKE_CXX_COMPILER=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -DCMAKE_INSTALL_PREFIX=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/local/Qt-5.12.8 -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY -DQt5_DIR=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/local/Qt-5.12.8/lib/cmake/Qt5 -DENABLE_WEBKIT2=OFF -DENABLE_OPENGL=OFF -DENABLE_GEOLOCATION=OFF -DENABLE_DEVICE_ORIENTATION=OFF -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF -DUSE_LIBHYPHEN=OFF ../../qtwebkit
>>
>>  Can you let me know if hyphen support is added recently in Qtwebkit 5.212 unlike in Qtwebkit 5.5?
>
> Yes
>
>>  If hyphen support is disabled, it shall not do line break in the html content?
>
> It won't support automatic hyphenation feature in CSS. Lines will always be broken on word boundaries.

FWIW, official Windows and macOS binaries for now are shipped with disabled libhyphen because of its non-portable use of data files.

-- 
Regards,
Konstantin


More information about the webkit-qt mailing list