安装QT QXLSX的过程

参考文档:

https://blog.csdn.net/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.csdn.net/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?

 

你可能感兴趣的:(QT,布局)