summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/library/dao/trackdao.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library/dao/trackdao.cpp b/src/library/dao/trackdao.cpp
index f10914bfcc..179b5005ee 100644
--- a/src/library/dao/trackdao.cpp
+++ b/src/library/dao/trackdao.cpp
@@ -648,7 +648,11 @@ bool insertTrackLibrary(
pTrackLibraryInsert->bindValue(":mixxx_deleted", 0);
// We no longer store the wavesummary in the library table.
+#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
+ pTrackLibraryInsert->bindValue(":wavesummaryhex", QVariant(QMetaType(QMetaType::QByteArray)));
+#else
pTrackLibraryInsert->bindValue(":wavesummaryhex", QVariant(QVariant::ByteArray));
+#endif
VERIFY_OR_DEBUG_ASSERT(pTrackLibraryInsert->exec()) {
// We failed to insert the track. Maybe it is already in the library