QtXlsxWriter
QtXlsxWriter copied to clipboard
install in qt5.7 bug
I installed the Usage (1) When I installed the make, I found no make this command. I used mingw32-make. //当我安装到make的时候,发现没有make这个命令。
Setting up environment for Qt usage... D:\Qt\Qt5.7.0\5.7\mingw53_32>cd /d D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master>qmake Info: creating stash file D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master.qmake.stash Info: creating cache file D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master.qmake.cache
D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master>make 'make' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master>mingw32-make cd src\ && ( if not exist Makefile D:\Qt\Qt5.7.0\5.7\mingw53_32\bin\qmake.exe D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master\src\src.pro -o Makefile ) && mingw32-make -f Makefile mingw32-make[1]: Entering directory 'D:/LeoQt/qt/QtStuProjects/QtXlsxWriter-master/src' cd xlsx\ && ( if not exist Makefile D:\Qt\Qt5.7.0\5.7\mingw53_32\bin\qmake.exe D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master\src\xlsx\xlsx.pro -o Makefile ) && mingw32-make -f Makefile Project MESSAGE: perl -w D:\Qt\Qt5.7.0\5.7\mingw53_32\bin\syncqt.pl -module QtXlsx -version 0.3.0 -outdir D:/LeoQt/qt/QtStuProjects/QtXlsxWriter-master D:/LeoQt/qt/QtStuProjects/QtXlsxWriter-master 'perl' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 Project ERROR: Failed to run: perl -w D:\Qt\Qt5.7.0\5.7\mingw53_32\bin\syncqt.pl -module QtXlsx -version 0.3.0 -outdir D:/LeoQt/qt/QtStuProjects/QtXlsxWriter-master D:/LeoQt/qt/QtStuProjects/QtXlsxWri ter-master Makefile:38: recipe for target 'sub-xlsx-make_first' failed mingw32-make[1]: *** [sub-xlsx-make_first] Error 3 mingw32-make[1]: Leaving directory 'D:/LeoQt/qt/QtStuProjects/QtXlsxWriter-master/src' Makefile:40: recipe for target 'sub-src-make_first' failed mingw32-make: *** [sub-src-make_first] Error 2
D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master>make 'make' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
D:\LeoQt\qt\QtStuProjects\QtXlsxWriter-master>
How to solve this problem? TKS。
I find the solve.
install a ActivePerl before you qmake.
Note: Perl is needed in this step.
OS:windows7
Qt5.7
perl: ActivePerl_5.16.2.3010812913.msi
down http://rj.baidu.com/soft/detail/14792.html?ald
the code use:https://github.com/VSRonin/QtXlsxWriter
https://github.com/dbzhang800/QtXlsxWriter/issues/125 The author of this library is no longer active. A version of the library that compiles with Qt 5.6+ is available here https://github.com/VSRonin/QtXlsxWriter @VSRonin