summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2019-09-05 09:31:23 +0200
committerMichal Klocek <michal.klocek@qt.io>2019-09-19 09:53:03 +0200
commit16192598a84eaf9ac9a50b7cca6ac5e4c21bb5e8 (patch)
treeed8825e114370ed5126ff150c42a927fe5369c5f
parente29f450d7359c9390165268db8d9c6667c96ed96 (diff)
Make error messages great againv5.14.0-alpha1
A configure system now knows all the possible errors when configuring webengine. Unfortunately topLevel build does not split messages per module, therefore make sure messages mention QtWebEngine. Task-number: QTBUG-75840 Task-number: QTBUG-76606 Change-Id: Ibadcd4bbc6a7b2199e4cefb3285419591b4338fe Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--src/buildtools/config/support.pri20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/buildtools/config/support.pri b/src/buildtools/config/support.pri
index 7c1262f85..5bdd808d4 100644
--- a/src/buildtools/config/support.pri
+++ b/src/buildtools/config/support.pri
@@ -17,7 +17,7 @@ defineReplace(qtwebengine_checkError) {
}
!qtConfig(webengine-submodule) {
- qtwebengine_skipBuild("Submodule qtwebengine-chromium does not exist. Run 'git submodule update --init'.")
+ qtwebengine_skipBuild("QtWebEngine required submodule qtwebengine-chromium does not exist. Run 'git submodule update --init'.")
return(false)
}
@@ -70,7 +70,7 @@ defineReplace(qtwebengine_checkError) {
win:!qtwebengine_checkErrorForWindows():return(false)
sanitizer: !qtConfig(webengine-sanitizer) {
- qtwebengine_skipBuild("Chosen sanitizer configuration is not supported. Check config.log for details or use -feature-webengine-sanitizer to force build with the chosen sanitizer configuration.")
+ qtwebengine_skipBuild("Chosen sanitizer configuration is not supported for QtWebEngine. Check config.log for details or use -feature-webengine-sanitizer to force build with the chosen sanitizer configuration.")
return(false);
}
@@ -80,34 +80,34 @@ defineReplace(qtwebengine_checkError) {
defineTest(qtwebengine_checkErrorForLinux) {
!qtConfig(pkg-config) {
- qtwebengine_skipBuild("A pkg-config support is required.")
+ qtwebengine_skipBuild("A pkg-config support is required to build QtWebEngine.")
return(false)
}
!qtConfig(webengine-host-pkg-config) {
- qtwebengine_skipBuild("Host pkg-config is required")
+ qtwebengine_skipBuild("Host pkg-config is required to build QtWebEngine.")
return(false)
}
!qtConfig(webengine-system-glibc) {
- qtwebengine_skipBuild("A suitable version >= 2.27 of libc could not be found.")
+ qtwebengine_skipBuild("A suitable version >= 2.27 of libc required to build QtWebEngine could not be found.")
return(false)
}
!qtConfig(webengine-system-khr) {
- qtwebengine_skipBuild("khronos development headers appear to be missing (mesa/libegl1-mesa-dev)")
+ qtwebengine_skipBuild("Khronos development headers required to build QtWebEngine are missing (see mesa/libegl1-mesa-dev)")
return(false)
}
for(package, $$list("nss dbus fontconfig")) {
!qtConfig(webengine-system-$$package) {
- qtwebengine_skipBuild("A suitable version of $$package could not be found.")
+ qtwebengine_skipBuild("A suitable version of $$package required to build QtWebEngine could not be found.")
return(false)
}
}
qtConfig(pkg-config):qtConfig(xcb):!qtConfig(webengine-ozone-x11) {
- qtwebengine_skipBuild("Could not find all necessary libraries for qpa-xcb support")
+ qtwebengine_skipBuild("Could not find all necessary libraries for qpa-xcb support in QtWebEngine.")
return(false)
}
return(true)
@@ -115,12 +115,12 @@ defineTest(qtwebengine_checkErrorForLinux) {
defineTest(qtwebengine_checkErrorForWindows) {
!qtConfig(webengine-win-compiler64) {
- qtwebengine_skipBuild("Required 64-bit cross-building or native toolchain could not be found.")
+ qtwebengine_skipBuild("64-bit cross-building or native toolchain required to build QtWebEngine could not be found.")
return(false)
}
!qtConfig(webengine-winversion) {
- qtwebengine_skipBuild("Needs Visual Studio 2017 or higher")
+ qtwebengine_skipBuild("QtWebEngine needs Visual Studio 2017 or higher.")
return(false)
}
return(true)