From 4d62f418f01d961caa678e769212b3962f0fe8c5 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 27 Apr 2022 07:35:31 -0400 Subject: [PATCH] fix Qt6 broken build --- win/Qt/qt_bind.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win/Qt/qt_bind.cpp b/win/Qt/qt_bind.cpp index bde7d4036..4b1950a21 100644 --- a/win/Qt/qt_bind.cpp +++ b/win/Qt/qt_bind.cpp @@ -1100,7 +1100,9 @@ struct window_procs Qt_procs = { #ifndef WIN32 extern "C" void play_usersound(const char *, int); +#if QT_VERSION < 0x060000 QSoundEffect *effect = NULL; +#endif /* called from core, sounds.c */ void