diff data/fileio/test/AudioFileReaderTest.h @ 820:bb7ea947c60d

Qt4/5 compatibility fix
author Chris Cannam
date Mon, 08 Jul 2013 14:44:01 +0100
parents 2b3a8ae04597
children e06f03013f46
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);