summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2020-11-30 19:57:47 +0100
committerGitHub <noreply@github.com>2020-11-30 19:57:47 +0100
commit44f7067cab5c8999a69f8dd92574a2b6e8edfe34 (patch)
treec5a51af75f5ee0b4edfb3debc119cd2c34b16c2c
parentMerge pull request #4939 from german77/MouseInput (diff)
parentDisable web applet and warning when compiling for Linux on CI (diff)
downloadyuzu-44f7067cab5c8999a69f8dd92574a2b6e8edfe34.tar
yuzu-44f7067cab5c8999a69f8dd92574a2b6e8edfe34.tar.gz
yuzu-44f7067cab5c8999a69f8dd92574a2b6e8edfe34.tar.bz2
yuzu-44f7067cab5c8999a69f8dd92574a2b6e8edfe34.tar.lz
yuzu-44f7067cab5c8999a69f8dd92574a2b6e8edfe34.tar.xz
yuzu-44f7067cab5c8999a69f8dd92574a2b6e8edfe34.tar.zst
yuzu-44f7067cab5c8999a69f8dd92574a2b6e8edfe34.zip
-rwxr-xr-x.ci/scripts/linux/docker.sh2
-rw-r--r--src/yuzu/main.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/.ci/scripts/linux/docker.sh b/.ci/scripts/linux/docker.sh
index 277775ef6..05f6ffe7d 100755
--- a/.ci/scripts/linux/docker.sh
+++ b/.ci/scripts/linux/docker.sh
@@ -5,7 +5,7 @@ cd /yuzu
ccache -s
mkdir build || true && cd build
-cmake .. -G Ninja -DDISPLAY_VERSION=$1 -DYUZU_USE_BUNDLED_UNICORN=ON -DYUZU_USE_QT_WEB_ENGINE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON
+cmake .. -G Ninja -DDISPLAY_VERSION=$1 -DYUZU_USE_BUNDLED_UNICORN=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON
ninja
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 871ff4ae4..26f5e42ed 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -477,11 +477,13 @@ void GMainWindow::WebBrowserOpenPage(std::string_view filename, std::string_view
#else
void GMainWindow::WebBrowserOpenPage(std::string_view filename, std::string_view additional_args) {
+#ifndef __linux__
QMessageBox::warning(
this, tr("Web Applet"),
tr("This version of yuzu was built without QtWebEngine support, meaning that yuzu cannot "
"properly display the game manual or web page requested."),
QMessageBox::Ok, QMessageBox::Ok);
+#endif
LOG_INFO(Frontend,
"(STUBBED) called - Missing QtWebEngine dependency needed to open website page at "