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