Qt6 QSoundEffect on macOS

This commit is contained in:
nhmall
2022-04-27 13:56:01 -04:00
parent 43158982c3
commit f6149904c3
2 changed files with 5 additions and 1 deletions

View File

@@ -19,7 +19,11 @@ extern "C" {
#else
/* Qt6 or above */
#include <QtWidgets/QtWidgets>
#ifdef MACOS
#include <QtMultimedia/QSoundEffect>
#else
#include <QSoundEffect>
#endif
#endif /* QT_VERSION */
#include "qt_post.h"
#include "qt_bind.h"