Skip to content

Build Qt 5 with WebEngine and do not strip debug symbols #704

Merged
merged 3 commits into from
Apr 10, 2018

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Apr 9, 2018

  1. RStudio 1.2 was ported from Qt WebKit to Qt WebEngine, so build Qt WebEngine in preperation for that.
  2. Build Qt in the source directory to get all variables set for Qt WebKit 5.212.
  3. Do not strip the debug symbols.

The size increase in mainly due to enabling Qt WebEngine.

$ ls -lh /src/mariux/beeroot/packages/qt5-5.10.1-*
-rw-r--r-- 1 root system  57M Feb 17 17:59 /src/mariux/beeroot/packages/qt5-5.10.1-0.x86_64.bee.tar.bz2
-rw-r--r-- 1 root system 116M Apr  9 18:12 /src/mariux/beeroot/packages/qt5-5.10.1-1.x86_64.bee.tar.bz2

Tested on keineahnung and xola.

The build failure reported in commit 663c3b3 (qt5: Do not build
QtWebengine as it fails to build) cannot be reproduced anymore, so
build Qt WebEngine again.

RStudio 1.2 was ported from Qt WebKit to Qt WebEngine, so prepare MarIuX
to support that.
Keep the debug symbols in the binary files to make debugging easier, and
stack traces more meaningful. The size increase is not so big, so
install it everywhere.
Building Qt 5 outside the source directory, several variables are not
set, causing the Qt WebKit build to fail [1].

    set(Qt5Gui_PRIVATE_INCLUDE_DIRS "")

[1] https://bugreports.qt.io/browse/QTBUG-37417
@pmenzel pmenzel force-pushed the build-qt5-with-webengine-and-debug-symbols branch from ea51af8 to d9dbd88 Compare April 9, 2018 16:23
@donald donald merged commit 2e30283 into master Apr 10, 2018
@donald donald deleted the build-qt5-with-webengine-and-debug-symbols branch April 12, 2018 14:24
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