安装QT QXLSX的过程

本文档详细介绍了如何正确安装Perl5和QtXlsx,以确保与MSVC201532bit环境的兼容性。同时,解决了在使用QtCreator编译过程中遇到的CMAKE命令未找到的问题,并提供了有效的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

参考文档:

https://blog.youkuaiyun.com/yajlv/article/details/52927462

 

 

参考这个文档安装中强调的问题

 

一、 Perl5

下载Perl5地址:https://www.perl.org/get.html ,QT的版本比较多,我通常用的MSVC2015 32bit的,所以我安装的也是32位的:

下载  ActivePerl-5.24.0.2400-MSWin32-x86-64int-300560 https://download.youkuaiyun.com/download/gigizhongyan/11261197

需要避免版本不对的问题

 

二 QTXlSX

QtXlsx代码下载后需要编译自己对应的版本库:比如程序是 MSVC2015 32,那么也用相同的编译环境编译库。

 

三 CMAKE

我编译的时候发现没有找到CMAKE的命令,在C盘搜索“CMake.exe”,并且把该路径安装在放到环境变量中。

===================================

When opening a CMakeList.txt file with QtCreator, it asks me to provide the path to the CMake executable. I navigate to C:\Program Files\CMake\bin\cmake.exe where cmake.exe is, however QtCreator says:

No CMake executable was found in the path.

I tried looking around Qt code to see what it uses to validate the cmake.exe, however there were too many indirections, so I couldn't quite figure it out. What seems to be the problem? Is it the name of the exe?

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值