changeset 820:bb7ea947c60d

Qt4/5 compatibility fix
author Chris Cannam
date Mon, 08 Jul 2013 14:44:01 +0100
parents 51cf0c35e9b0
children 06c64a1c6785
files data/fileio/test/AudioFileReaderTest.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data/fileio/test/AudioFileReaderTest.h	Mon Jul 08 14:21:50 2013 +0100
+++ b/data/fileio/test/AudioFileReaderTest.h	Mon Jul 08 14:44:01 2013 +0100
@@ -78,7 +78,11 @@
         if (bits.length() > 2) nominalDepth = bits[2].toInt();
 
 	if (!reader) {
+#if ( QT_VERSION >= 0x050000 )
 	    QSKIP("Unsupported file, skipping");
+#else
+	    QSKIP("Unsupported file, skipping", SkipSingle);
+#endif
 	}
 
         QCOMPARE((int)reader->getChannelCount(), nominalChannels);