It is necessary to work with .xlsx files through Qt 5.7 using the QtXlsx module. A project with this module seems to be compiled, but when compiled it gives this:
D:\Qt\Projects\TryExcel\qtexcel\src\xlsx\xlsxzipreader.cpp:51: ошибка: invalid use of incomplete type 'class QVector<QZipReader::FileInfo>' QList<QZipReader::FileInfo> allFiles = m_reader->fileInfoList(); ^ D:\Qt\5.7\mingw53_32\include\QtCore\qglobal.h:1139: In file included from ..\..\5.7\mingw53_32\include\QtCore/qglobal.h:1139:0, D:\Qt\5.7\mingw53_32\include\QtCore\QtGlobal:1: from ..\..\5.7\mingw53_32\include\QtCore/QtGlobal:1, D:\Qt\Projects\TryExcel\qtexcel\src\xlsx\xlsxglobal.h:27: from ..\TryExcel\qtexcel\src\xlsx\xlsxglobal.h:27, D:\Qt\Projects\TryExcel\qtexcel\src\xlsx\xlsxzipreader_p.h:40: from ..\TryExcel\qtexcel\src\xlsx\xlsxzipreader_p.h:40, D:\Qt\Projects\TryExcel\qtexcel\src\xlsx\xlsxzipreader.cpp:26: from ..\TryExcel\qtexcel\src\xlsx\xlsxzipreader.cpp:26: D:\Qt\5.7\mingw53_32\include\QtCore\qtypeinfo.h:189: declaration of 'class QVector<QZipReader::FileInfo>' D:\Qt\5.7\mingw53_32\include\QtCore\qtypeinfo.h:189: declaration of 'class QVector<QZipReader::FileInfo>' Q_DECLARE_MOVABLE_CONTAINER(QVector); ^ Collected under Qt 5.7.1 on Win 7 x64 with the mingw compiler and on ubuntu 16.04 with GCC. Maybe someone had the same problem, tell me, please, how to be.