diff options
-rw-r--r-- | README.md | 14 | ||||
-rw-r--r-- | src/core/qtwebengine_extras.gypi | 3 |
2 files changed, 4 insertions, 13 deletions
@@ -48,19 +48,7 @@ Use of shared libraries can be enforced by setting the GYP_DEFINES environment v export GYP_DEFINES=component=shared_library - Or by using the include.gypi mechanism described below: - -### Compiler Warnings treated as Errors (-Werror) ### -On Linux you may get build errors due to -Werror. Create ~/.gyp/include.gypi with the following contents: - - { - 'variables': { - 'werror%': '', - 'component%': 'shared_library', - }, - } - -So afterwards you have to re-create the ninja files by running "qmake -r" + Or by using the ~/.gyp/include.gypi mechanism. ### Use external Chromium sources ### If you want to use external chromium sources instead of the submodule provided in the QtWebEngine repository, diff --git a/src/core/qtwebengine_extras.gypi b/src/core/qtwebengine_extras.gypi index 95c5c5627..f4d3e38b7 100644 --- a/src/core/qtwebengine_extras.gypi +++ b/src/core/qtwebengine_extras.gypi @@ -1,4 +1,7 @@ { + 'variables': { + 'werror%': '', + }, 'target_defaults': { # patterns used to exclude chromium files from the build when we have a drop-in replacement 'sources/': [ |