• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
我是张洪铭我是熊博士
时光静好,与君同;细水长流,与君语
博客园    首页    新随笔    联系   管理    订阅  订阅

打开 Qt Xlsx 源码工程

时间:2020-12-04

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

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

 

Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.
Project MESSAGE: perl -w D:\Qt\Qt5.9.8\5.9.8\msvc2015\bin\syncqt.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:\Qt\Qt5.9.8\5.9.8\msvc2015_64\bin\syncqt.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 子模块, 报如下错误:

 

15:15:50: 为项目qtxlsx执行步骤 ...
15:15:50: 正在启动 "D:\Qt\Qt5.9.8\5.9.8\msvc2015_64\bin\qmake.exe" D:\a_zhm\StudyCode\Excel\QtXlsxWriter-master\src\src.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug"

15:15:50: 进程"D:\Qt\Qt5.9.8\5.9.8\msvc2015_64\bin\qmake.exe"正常退出。
15:15:50: 正在启动 "D:\Qt\Qt5.9.8\Tools\QtCreator\bin\jom.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:\Qt\Qt5.9.8\5.9.8\msvc2015_64\bin\qmake.exe -o Makefile D:\a_zhm\StudyCode\Excel\QtXlsxWriter-master\src\xlsx\xlsx.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug"
'perl' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Project MESSAGE: perl -w D:\Qt\Qt5.9.8\5.9.8\msvc2015_64\bin\syncqt.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:\Qt\Qt5.9.8\5.9.8\msvc2015_64\bin\syncqt.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_zhm\StudyCode\Excel\build-qtxlsx-Desktop_Qt_5_9_8_MSVC2015_64bit-Debug\src\Makefile [sub-xlsx-qmake_all] Error 3
15:15:50: 进程"D:\Qt\Qt5.9.8\Tools\QtCreator\bin\jom.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.

 

posted @ 2020-12-04 15:13  我是张洪铭我是熊博士  阅读(2030)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3