From: nhmall Date: Wed, 27 Apr 2022 11:35:31 +0000 (-0400) Subject: fix Qt6 broken build X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d62f418f01d961caa678e769212b3962f0fe8c5;p=nethack fix Qt6 broken build --- 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