Qt Creator 10发布

Qt Creator 10 released

Qt Creator 10发布

March 29, 2023 by Eike Ziller | Comments

​2023年3月29日:艾克·齐勒|评论

We are happy to announce the release of Qt Creator 10!

我们很高兴地宣布Qt Creator 10的发布!

General

通用

You can now temporarily drag the progress details out of the way, in addition to hiding them with the button below them.

现在,除了用下面的按钮隐藏进度细节外,您还可以暂时将进度细节拖到一边。

If you use the Open as Centered Popup option for locator, we fixed that it didn't remember the last search term that you typed into the input field.

如果您使用定位器的“以居中方式打开弹出菜单”选项,我们修复了它不记得在输入字段中键入的最后一个搜索词的问题。

C++

We updated the LLVM version that we ship in our packages to LLVM 16. This improves C++ 20 support in Clang, and the interaction between Qt Creator and Clangd. We also enabled the ClangFormat plugin by default, which now is used by default for indentation.

​我们将包中提供的LLVM版本更新为LLVM 16。这改进了Clang中C++20的支持,以及Qt Creator和Clangd之间的交互。我们还默认启用了ClangFormat插件,它现在默认用于缩进。

When you rename .ui files or the form defined in a .ui file, Qt Creator now adapts includes and references to them in C++ files of your project automatically.

当重命名.ui文件或.ui文件中定义的表单时,Qt Creator现在会自动调整项目的C++文件中对它们的包含和引用。

The new action Tools > C++ > Find Unused Functions helps you find dead code in your projects.

新的操作工具>C++>查找未使用的函数可以帮助您在项目中查找死代码。

We also added a Call Hierarchy view, which is available for all language servers that support this functionality.

我们还添加了一个“调用层次结构”视图,该视图可用于所有支持此功能的语言服务器。

QML

We updated the code model to Qt 6.5. The editor now shows a color preview for corresponding properties as a tool tip, and you can specify an external command like qmlformat to format files, instead of the built-in formatter.

我们将代码模型更新为Qt 6.5。编辑器现在显示了相应属性的颜色预览,作为工具提示,可以指定外部命令(如qmlformat)来格式化文件,而不用指定内置的格式化程序。

If you install the optional Qt Language Server component from the Qt installer, you can test out the QML language server in Qt Creator by turning on Qt Quick > QML/JS Editing > Use qmlls now.

如果从Qt安装程序安装了可选的Qt语言服务器组件,可以在Qt Creator中通过打开Qt Quick>QML/JS Editing>Use qmlls来测试QML语言服务器。

CMake

We updated the support for CMake presets to preset version 5. This adds for example support for includes, the external strategy for architecture and toolset, and the pathListSep variable.

我们将对CMake预设的支持更新为预设版本5。例如,这增加了对includes、体系结构和工具集的外部策略以及pathListSep变量的支持。

For the editor there is a new option under CMake > Formatter for using cmake-format or an other command for formatting CMake related files.

​对于编辑器,在CMake>Formatter下有一个新选项,用于使用CMake格式,或其他命令用于格式化与CMake相关的文件。

We also added a new deploy step that uses cmake --install that you can add to your project configuration in Projects > Run Settings > Add Deploy Step.

我们还添加了一个使用cmake-install的新部署步骤,您可以在“项目”>“运行设置”>“添加部署步骤”中将其添加到项目配置中。

Remote Build and Run Targets

远程编译和运行目标

We added support for handling the code model remotely via remote Clangd when building on a Docker device. The ClangFormat plugin now also works on remote files in a Docker container.

我们增加了在Docker设备上构建时通过远程Clangd远程处理代码模型的支持。ClangFormat插件现在也可以处理Docker容器中的远程文件。

You can now directly browse the file system on remote targets, for example to select a remote build directory. And the Open Terminal action, for example in the Build Environment settings, open a terminal on the remote system.

现在,可以直接浏览远程目标上的文件系统,例如选择远程生成目录。打开终端操作,例如在“生成环境”设置中,打开远程系统上的终端。

More

更多

There have been many more improvements and fixes in Qt Creator 10. The more extensive change log is available for reading in our repository, and also under Help > Change Log (and Qt Creator > Change Log on macOS).

​Qt Creator 10有更多的改进和修复。更广泛的更改日志可在我们的存储库中阅读,也可在帮助>更改日志(以及macOS上的Qt Creator>更改日志)下阅读。

Get Qt Creator 10

获取Qt Creator 10

The opensource version is available on the Qt download page under "Qt Creator", and you find commercially licensed packages on the Qt Account Portal. Qt Creator 10 is also available as an update in the online installer. Please post issues in our bug tracker. You can also find us on IRC on #qt-creator on irc.libera.chat, and on the Qt Creator mailing list.

​开源版本可在Qt下载页面的“Qt Creator”下找到,可以在Qt帐户门户网站上找到商业许可的软件包。Qt Creator 10也可以作为在线安装程序中的更新。请在我们的bug跟踪器中发布问题。也可以在IRC上的#qt-creator上找到我们,也可以在IRC.liber.hat上的qt creator邮件列表上找到我们。

You can read the Qt Creator Manual in Qt Creator in the Help mode or access it online in the Qt documentation portal.

​可以在帮助模式下在Qt Creator中阅读Qt Creater手册,也可以在Qt文档门户网站中在线访问。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值