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:
parent
ac5ec626f9
commit
bc495495ee
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user