# HG changeset patch # User Chris Cannam # Date 1373291041 -3600 # Node ID bb7ea947c60d7ae76d3a608479f69a6308facd55 # Parent 51cf0c35e9b0aded07c58708e95bd77218909cc8 Qt4/5 compatibility fix diff -r 51cf0c35e9b0 -r bb7ea947c60d data/fileio/test/AudioFileReaderTest.h --- 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);