zoukankan      html  css  js  c++  java
  • 打开 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:QtQt5.9.85.9.8msvc2015insyncqt.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_64insyncqt.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:QtQt5.9.85.9.8msvc2015_64inqmake.exe" D:a_zhmStudyCodeExcelQtXlsxWriter-mastersrcsrc.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug"
    
    15:15:50: 进程"D:QtQt5.9.85.9.8msvc2015_64inqmake.exe"正常退出。
    15:15:50: 正在启动 "D:QtQt5.9.8ToolsQtCreatorinjom.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_64inqmake.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_64insyncqt.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_64insyncqt.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_zhmStudyCodeExceluild-qtxlsx-Desktop_Qt_5_9_8_MSVC2015_64bit-DebugsrcMakefile [sub-xlsx-qmake_all] Error 3
    15:15:50: 进程"D:QtQt5.9.8ToolsQtCreatorinjom.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.
  • 相关阅读:
    Mybatis批处理
    Mybatis兼容C3P0连接池
    一对多,多对一查询
    缓存
    动态sql
    mybatis 日志记录
    python学习day07-encode和decode
    python学习day07---三级目录优化
    python学习day06练习---三级目录
    python学习day06--02字典增删差改以及字符串的一些方法
  • 原文地址:https://www.cnblogs.com/azbane/p/14085968.html
Copyright © 2011-2022 走看看