mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 20:22:53 +00:00
Merge pull request #5045 from lat9nq/disable-applet
Disable web applet and warning box when compiling for Linux on CI
This commit is contained in:
commit
44f7067cab
|
@ -5,7 +5,7 @@ cd /yuzu
|
||||||
ccache -s
|
ccache -s
|
||||||
|
|
||||||
mkdir build || true && cd build
|
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
|
ninja
|
||||||
|
|
||||||
|
|
|
@ -477,11 +477,13 @@ void GMainWindow::WebBrowserOpenPage(std::string_view filename, std::string_view
|
||||||
#else
|
#else
|
||||||
|
|
||||||
void GMainWindow::WebBrowserOpenPage(std::string_view filename, std::string_view additional_args) {
|
void GMainWindow::WebBrowserOpenPage(std::string_view filename, std::string_view additional_args) {
|
||||||
|
#ifndef __linux__
|
||||||
QMessageBox::warning(
|
QMessageBox::warning(
|
||||||
this, tr("Web Applet"),
|
this, tr("Web Applet"),
|
||||||
tr("This version of yuzu was built without QtWebEngine support, meaning that yuzu cannot "
|
tr("This version of yuzu was built without QtWebEngine support, meaning that yuzu cannot "
|
||||||
"properly display the game manual or web page requested."),
|
"properly display the game manual or web page requested."),
|
||||||
QMessageBox::Ok, QMessageBox::Ok);
|
QMessageBox::Ok, QMessageBox::Ok);
|
||||||
|
#endif
|
||||||
|
|
||||||
LOG_INFO(Frontend,
|
LOG_INFO(Frontend,
|
||||||
"(STUBBED) called - Missing QtWebEngine dependency needed to open website page at "
|
"(STUBBED) called - Missing QtWebEngine dependency needed to open website page at "
|
||||||
|
|
Loading…
Reference in a new issue