Skip to content

Update Qt WebKit from 5.9.0 to 5.212 #711

Merged
merged 3 commits into from
Apr 13, 2018

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Apr 13, 2018

After upgrading to Qt 5.10.1 the installed Qt WebKit 5.9.0, built against Qt 5.4.1, seems to have a problem. Several users report crashes of RStudio 1.1.383 and 1.1.444, the only/main user of Qt WebKit.

Rebuilding Qt WebKit fails due to problems with GCC 7.3.0. But, Qt WebKit 5.212 builds, and with that installed, RStudio doesn’t crash anymore.

If desired, adjust the build settings to avoid literally thousands of
unneeded warning messages:

    sed -e '/CONFIG/a QMAKE_CXXFLAGS += -Wno-expansion-to-defined' \
    -i Tools/qmake/mkspecs/features/unix/default_pre.prf
Qt WebKit 5.9.0 has problems with GCC 7.3.0, and [it’s recommended to
use 5.212][1].

Update the build instructions according to the Wiki page [Building
QtWebKit on Windows][2].

[1]: https://bugreports.qt.io/browse/QTBUG-61609?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&showAll=true
[2]: https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux
The library is not installed in MarIuX, so disable it.

```
CMake Error at /usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Hyphen (missing: HYPHEN_INCLUDE_DIR HYPHEN_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  Source/cmake/FindHyphen.cmake:37 (find_package_handle_standard_args)
  Source/cmake/OptionsQt.cmake:790 (find_package)
  Source/cmake/WebKitCommon.cmake:50 (include)
  CMakeLists.txt:137 (include)
```
@donald donald merged commit cb37a5d into master Apr 13, 2018
@donald donald deleted the update-qt-webkit-from-5.9.0-to-5.212 branch April 16, 2018 14:15
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants