1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-30 05:02:52 +08:00

check qt version

This commit is contained in:
j2doll 2017-08-17 20:37:25 +09:00
parent ac5ec626f9
commit bc495495ee

View File

@ -43,9 +43,7 @@ void ZipReader::init()
#if (QT_VERSION <= QT_VERSION_CHECK(5, 5, 0))
QList<QZipReader::FileInfo> allFiles = m_reader->fileInfoList();
#endif
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
#else
QVector<QZipReader::FileInfo> allFiles = m_reader->fileInfoList();
#endif