From 69da26754003cb4695380738f5a837c9a93b5eaa Mon Sep 17 00:00:00 2001 From: James Rowe Date: Fri, 18 Jan 2019 10:02:27 -0700 Subject: Add a workaround if QMovie isn't available --- src/yuzu/loading_screen.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/yuzu/loading_screen.h') diff --git a/src/yuzu/loading_screen.h b/src/yuzu/loading_screen.h index ffcaa260d..2a6cf1142 100644 --- a/src/yuzu/loading_screen.h +++ b/src/yuzu/loading_screen.h @@ -7,6 +7,10 @@ #include #include +#if !QT_CONFIG(movie) +#define YUZU_QT_MOVIE_MISSING 1 +#endif + namespace Loader { class AppLoader; } @@ -42,9 +46,11 @@ public: void OnLoadProgress(std::size_t value, std::size_t total); private: +#ifndef YUZU_QT_MOVIE_MISSING std::unique_ptr animation; std::unique_ptr backing_buf; std::unique_ptr backing_mem; +#endif std::unique_ptr ui; std::size_t previous_total = 0; }; -- cgit v1.2.3