打开 Qt Xlsx 源码工程

时间:2020-12-04

问题: 先记录下来,之后再一行行分析原因

Qt Creator 打开工程后, 概要信息自动给出如下提示:

打开 Qt Xlsx 源码工程

 

Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
Project MESSAGE: perl -w D:QtQt5.9.85.9.8msvc2015binsyncqt.pl -module QtXlsx -version 0.3.0 -outdir D:/a_zhm/StudyCode/Excel/QtXlsxWriter-master D:/a_zhm/StudyCode/Excel/QtXlsxWriter-master
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
Project MESSAGE: cmake executable not found. Not running CMake unit tests
Project MESSAGE: perl -w D:QtQt5.9.85.9.8msvc2015_64binsyncqt.pl -module QtXlsx -version 0.3.0 -outdir D:/a_zhm/StudyCode/Excel/build-qtxlsx-Desktop_Qt_5_9_8_MSVC2015_64bit-Debug D:/a_zhm/StudyCode/Excel/QtXlsxWriter-master
Project MESSAGE: cmake executable not found. Not running CMake unit tests

 

 

构建Src.pro 子模块, 报如下错误:

打开 Qt Xlsx 源码工程

 

15:15:50: 为项目qtxlsx执行步骤 ...
15:15:50: 正在启动 "D:QtQt5.9.85.9.8msvc2015_64binqmake.exe" D:a_zhmStudyCodeExcelQtXlsxWriter-mastersrcsrc.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug"

15:15:50: 进程"D:QtQt5.9.85.9.8msvc2015_64binqmake.exe"正常退出。
15:15:50: 正在启动 "D:QtQt5.9.8ToolsQtCreatorbinjom.exe" -f D:/a_zhm/StudyCode/Excel/build-qtxlsx-Desktop_Qt_5_9_8_MSVC2015_64bit-Debug/src/Makefile qmake_all


jom 1.1.2 - empower your cores

    cd xlsx && D:QtQt5.9.85.9.8msvc2015_64binqmake.exe -o Makefile D:a_zhmStudyCodeExcelQtXlsxWriter-mastersrcxlsxxlsx.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug"
'perl' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Project MESSAGE: perl -w D:QtQt5.9.85.9.8msvc2015_64binsyncqt.pl -module QtXlsx -version 0.3.0 -outdir D:/a_zhm/StudyCode/Excel/build-qtxlsx-Desktop_Qt_5_9_8_MSVC2015_64bit-Debug D:/a_zhm/StudyCode/Excel/QtXlsxWriter-master
Project ERROR: Failed to run: perl -w D:QtQt5.9.85.9.8msvc2015_64binsyncqt.pl -module QtXlsx -version 0.3.0 -outdir D:/a_zhm/StudyCode/Excel/build-qtxlsx-Desktop_Qt_5_9_8_MSVC2015_64bit-Debug D:/a_zhm/StudyCode/Excel/QtXlsxWriter-master
jom: D:a_zhmStudyCodeExcelbuild-qtxlsx-Desktop_Qt_5_9_8_MSVC2015_64bit-DebugsrcMakefile [sub-xlsx-qmake_all] Error 3
15:15:50: 进程"D:QtQt5.9.8ToolsQtCreatorbinjom.exe"退出,退出代码 2 。
Error while building/deploying project qtxlsx (kit: Desktop Qt 5.9.8 MSVC2015 64bit)
When executing step "qmake"
15:15:50: Elapsed time: 00:00.

 

原文链接: https://www.cnblogs.com/azbane/p/14085968.html

欢迎关注

微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍;

也有高质量的技术群,里面有嵌入式、搜广推等BAT大佬

    打开 Qt Xlsx 源码工程

原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/398369

非原创文章文中已经注明原地址,如有侵权,联系删除

关注公众号【高性能架构探索】,第一时间获取最新文章

转载文章受原作者版权保护。转载请注明原作者出处!

(0)
上一篇 2023年4月12日 上午9:38
下一篇 2023年4月12日 上午9:38

相关推荐