[webkit-qt] QtWebkit 5.212 issue

Ramakanth Kesireddy rama.kesi at gmail.com
Sun May 10 21:16:56 PDT 2020


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?
If hyphen support is disabled, it shall not do line break in the html
content?

Also let me know if the above options would work for cross-compilation.

Thanks and Regards,
Ramakanth

On Mon, May 11, 2020 at 4:34 AM Konstantin Tokarev <annulen at yandex.ru>
wrote:

>
>
> 10.05.2020, 19:42, "Ramakanth Kesireddy" <rama.kesi at gmail.com>:
> > Hello Konstantin,
> >
> > I could use cmake to configure for 32 bit and install QtWebkit 32 bit
> lib on Ubuntu.
> >
> > However, cmake cross-compilation failed and throws below errors while
> configuring Qt Webkit.
> >
> > Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY
> RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.3.0", minimum required
> is "1.9")
> >
> > ....
> > ....
> > -- Found GStreamer:
> GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES
> (Required is at least version "1.0.3")
> > CMake Error at Source/cmake/OptionsQt.cmake:816 (message):
> >   WebAudio requires the audio and fft GStreamer libraries.  Please check
> your
> >   gst-plugins-base installation.
> > Call Stack (most recent call first):
> >   Source/cmake/WebKitCommon.cmake:51 (include)
> >   CMakeLists.txt:137 (include)
> >
> > Please suggest in this regard.
>
> You are missing GStreamer. If you don't need multimedia support you should
> use -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF
>
>
> --
> Regards,
> Konstantin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20200511/dd7cbfa5/attachment.htm>


More information about the webkit-qt mailing list