[ feedback] 刚装好的IDE,和QT,建个工程就有编译报警,有人碰到如何解决的?
Tofloor
poster avatar
MFC转班生
deepin
3 hours ago
Author

这几天在Deepin20上 研究用Deepin IDE 和 QT 做点东西。需要用C++17版本,就装上了Deepin23的系统。

用DeepinIDE时,发现有报警,找了各种原因,最后试出来,在刚装好的IDE和QT的依赖就有这个报警。

升级安装为Deepin25后,也有这个问题。换过3台电脑装Deepin25,Deepin23,都这样。

虽然做的东西也能运行,不过总有个报警,是什么原因?下面是我在Deepin25系统上的截图。

CMake Deprecation Warning:

Support for "Extra Generators" like

CodeBlocks

is deprecated and will be removed from a future version of CMake. IDEs may

use the cmake-file-api(7) to view CMake-generated project build trees.

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):

Compatibility with CMake < 3.10 will be removed from a future version of

CMake.

Update the VERSION argument value. Or, use the ... syntax

to tell CMake that the project requires at least but has been updated

to work with policies introduced by or earlier.

image.png
image.png
image.png

image.png

Reply Favorite View the author
All Replies
MFC转班生
deepin
2 hours ago
#1

补充:
image.png

Reply View the author
把一切操作变成GUI
deepin
Backbone of ecological co-construction group
2 hours ago
#2
It has been deleted!
把一切操作变成GUI
deepin
Backbone of ecological co-construction group
2 hours ago
#3
MFC转班生

补充:
image.png

改成3.31.0也是这样吗?

Reply View the author
wlly-lzh
deepin
2 hours ago
#4

改一下第三张图片里面的cmake生成器。

至于cmake最低版本,改成比3.10大的就行,比如3.16。

Reply View the author
BLumia
deepin
2 hours ago
#5

CMake 最低版本要求建议3.24起步,除非你有什么明确的特殊的要求。

目前CMake上游最新版本已经4.x了,并且放弃了<3.5版本的兼容,所以那个最低版本要求不要写太低。

Reply View the author
MFC转班生
deepin
2 hours ago
#6
把一切操作变成GUI

改成3.31.0也是这样吗?

image.png

Reply View the author
MFC转班生
deepin
2 hours ago
#7
BLumia

CMake 最低版本要求建议3.24起步,除非你有什么明确的特殊的要求。

目前CMake上游最新版本已经4.x了,并且放弃了<3.5版本的兼容,所以那个最低版本要求不要写太低。

是这个吗? 我这里是灰的,从哪能改呢?
image.png

Reply View the author
MFC转班生
deepin
2 hours ago
#8
wlly-lzh

改一下第三张图片里面的cmake生成器。

至于cmake最低版本,改成比3.10大的就行,比如3.16。

😂 改cmake的地方是灰的,需要在哪安装?

Reply View the author
Mozart
deepin
2 hours ago
#9

image.png

Reply View the author
wlly-lzh
deepin
an hour ago
#10
MFC转班生

😂 改cmake的地方是灰的,需要在哪安装?

我没有在用这个IDE,所以也不太清楚。

楼下上新建一个cmake套件,你可以试试看。

Reply View the author
wlly-lzh
deepin
an hour ago
#11

搞qt为什么不用qtcreator?confused

Reply View the author
MFC转班生
deepin
an hour ago
#12
Mozart

image.png

嗯.了解了,

我去下载个新的版本试试.👍

Reply View the author
MFC转班生
deepin
an hour ago
#13
wlly-lzh

我没有在用这个IDE,所以也不太清楚。

楼下上新建一个cmake套件,你可以试试看。

我正在下载新的Cmake版本,安装试试. 多谢😬

Reply View the author
MFC转班生
deepin
an hour ago
#14
wlly-lzh

搞qt为什么不用qtcreator?confused

支持国产IDE呗.😄

Reply View the author