当前位置: 首页 > news >正文

qt creater运行按钮灰色,问题记录

第一次安装还没运行就出了三个错误:

1.F:\wei\Qt\Tools\CMake_64\share\cmake-3.24\Modules\CMakeTestCXXCompiler.cmake:62: error: The C++ compiler "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: F:/wei/QTstudy/build-hello-Desktop_x86_windows_msvc2015_pe_64bit-Debug/CMakeFiles/CMakeTmp Run Build Command(s):F:/wei/Qt/Tools/Ninja/ninja.exe cmTC_034dd && [1/2] Building CXX object CMakeFiles\cmTC_034dd.dir\testCXXCompiler.cxx.obj [2/2] Linking CXX executable cmTC_034dd.exe FAILED: cmTC_034dd.exe cmd.exe /C "cd . && F:\wei\Qt\Tools\CMake_64\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_034dd.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\link.exe /nologo CMakeFiles\cmTC_034dd.dir\testCXXCompiler.cxx.obj  /out:cmTC_034dd.exe /implib:cmTC_034dd.lib /pdb:cmTC_034dd.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." RC Pass 1: command "rc /fo CMakeFiles\cmTC_034dd.dir/manifest.res CMakeFiles\cmTC_034dd.dir/manifest.rc" failed (exit code 0) with the following output: 绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆 ninja: build stopped: subcommand failed.

2. error: CMake process exited with exit code 1.

3. error: CMake project configuration failed. No CMake configuration for build type "Debug" found.

可以看到此时运行按钮时灰色的

点击Debug->换一个构建套件

 

 

等待片刻,发现代码就可以正常运行了 

 

 

http://www.lryc.cn/news/122362.html

相关文章:

  • 【jvm】类加载器的分类
  • 电路基础之电容
  • 函数柯里化
  • 【HBZ分享】ES中的Reindex重建索引
  • 【PostgreSQL】几个提高性能的小特性
  • [C语言] 指针
  • win10在vmware15中安装macos10.13系统
  • Node.js:实现遍历文件夹下所有文件
  • Git详解及使用
  • Jmeter设置中文的两种方式,建议使用第二种
  • 【ARM 嵌入式 编译系列 7.1 -- GCC 链接脚本中节区及各个段的详细介绍】
  • 一文读懂HTML
  • MOCK测试
  • Flutter源码分析笔记:Widget类源码分析
  • PyTorch 微调终极指南:第 2 部分 — 提高模型准确性
  • MySQL数据库----------安装anaconda---------python与数据库的链接
  • nuxt页面布局
  • mac编译ffmpeg
  • 如何让你的图片服务也有类似OSS的图片处理功能
  • Oracle PL/SQL 类型(Type):索引表、嵌套表、变长数组、pipelined 管道
  • Web 服务器 -【Tomcat】的简单学习
  • armbian使用1panel快速部署部署springBoot项目后端
  • Streamlit 讲解专栏(八):图像、音频与视频魔法
  • python使用装饰器记录方法耗时
  • JavaWeb课程学习--Day01
  • Spring Boot单元测试使用MockBean注解向Service注入Mock对象
  • Java中使用instanceof判断对象类型
  • postman测试后端增删改查
  • 根据源码,模拟实现 RabbitMQ - 通过 SQLite + MyBatis 设计数据库(2)
  • 1、基于 CentOS 7 构建 LVS-DR 群集。 2、配置nginx负载均衡