diff --git a/src/platform/qt/Window.h b/src/platform/qt/Window.h index 0bd06eda7..b656794ed 100644 --- a/src/platform/qt/Window.h +++ b/src/platform/qt/Window.h @@ -191,7 +191,9 @@ private: QMenu* m_videoLayers; QMenu* m_audioChannels; ShortcutController* m_shortcutController; +#if defined(BUILD_GL) || defined(BUILD_GLES) std::unique_ptr m_shaderView; +#endif bool m_fullscreenOnStart = false; QTimer m_focusCheck; bool m_autoresume = false;