Qt Creator 7 released
Qt Creator 7发布
Wednesday March 23, 2022 by Eike Ziller | Comments
2022年3月23日星期三艾克·齐勒 | 评论
We are happy to announce the release of Qt Creator 7!
我们很高兴地宣布Qt Creator 7的发布!
General
通用
We split up the New File or Project menu item into separate New File and New Project items. That also means a new shortcut for New Project.
我们将新文件或项目菜单项拆分为单独的新文件和新项目项。这也意味着新项目的新捷径。
If you are using the Qt Online Installer, update notifications in Qt Creator now also include new minor Qt versions and patch releases to the latest available Qt version. You can configure this in Options > Environment > Updates.
如果您使用的是Qt Online安装程序,Qt Creator中的更新通知现在还包括新的次要Qt版本和最新可用Qt版本的补丁版本。您可以在选项>环境>更新中配置。
Editing
编辑
Our packages now use LLVM 14 for C++ support. We also switched to Clangd as the default backend for our code model! If you face issues with that, please create a bug report for us on the bug tracker. If you specifically have issues with Clangd's global indexing (the progress bar titled "Indexing project with Clangd"), you can turn that off in the C++ > Clangd > Enable background indexing setting. Qt Creator will then use Clangd for code completion and highlighting for the current document, but our built-in indexer for the global index. Turning the use of Clangd off completely is also possible on that page. In that case our built-in indexer is used for the global index, and libclang for the current document, like in previous versions of Qt Creator. But, please report your issues to us as well.
我们的软件包现在使用LVVM 14来支持C++。我们还切换到Clangd作为我们代码模型的默认后端!如果你遇到问题,请在bug追踪器上为我们创建bug报告。如果您特别关注Clangd的全局索引(名为“Clangd的索引项目”的进度条),则可以在“C++ > Clangd > Enable ”>中,启用背景索引设置。Qt Creator随后将使用Clangd来完成当前文档的代码并高亮显示,但我们的内置索引器用于全局索引。在该页面上完全关闭Clangd的使用也是可能的。在这种情况下,我们的内置索引器用于全局索引,libclang用于当前文档,就像以前版本的Qt Creator一样。但是,也请向我们报告您的问题。
If you use the ClangFormat plugin, its settings have been merged into the non-ClangFormat code style settings. See the new tab there.
如果使用ClangFormat插件,其设置已合并到非ClangFormat代码样式设置中。请查看新标签。
We also updated the QML parser to the newest version from Qt.
我们还将QML解析器从Qt更新为最新版本。
Projects
项目
We did lots of improvements to the CMake configuration in Projects mode. Please see the separate blog post for details!
我们在项目模式下对CMake配置做了很多改进。详情请参见单独的博客帖子!
We improved the automatic (re-)detection of toolchains and removed some unnecessary compiler calls at startup, improving the Qt Creator startup times in certain configurations.
我们改进了工具链的自动(重新)检测,并在启动时删除了一些不必要的编译器调用,从而在某些配置中缩短了Qt Creator的启动时间。
Our project wizards now assume C++17 as the C++ standard.
我们的项目向导现在假定C++ 17作为C++标准。
Platforms
平台
For Android we added an option for the default NDK, and fixed the detection of available NDK platforms for recent NDKs.
对于Android,我们为默认NDK添加了一个选项,并修复了对最近NDK可用NDK平台的检测。
On Linux we now ship the Wayland backend for Qt. Note that that is not used by default on Gnome with Wayland, but you can force that even there by setting the environment variable QT_QPA_PLATFORM=wayland.
在Linux上,我们现在为Qt提供Wayland后端。请注意,默认情况下,在Gnome和Wayland上不使用该选项,但您可以通过设置环境变量QT_QPA_PLATFORM=Wayland来强制使用该选项。
On macOS Qt Creator now uses the systems dark mode when setting a dark theme, and we fixed that user applications inherited access permissions from Qt Creator. If your application accesses restricted resources, this will be better reflected now while developing the application with Qt Creator.
在macOS上,Qt Creator现在在设置暗主题时使用系统暗模式,我们修复了用户应用程序从Qt Creator继承访问权限的问题。如果您的应用程序访问受限资源,现在在使用Qt Creator开发应用程序时,这将得到更好的反映。
We added experimental support for Docker on macOS, besides continuing the work of making Qt Creator internals work better with remote paths.
我们在macOS上为Docker添加了实验性支持,此外还继续努力使Qt Creator内部更好地使用远程路径。
Please check our change log for more details on improvements in Qt Creator 7!
有关Qt Creator 7改进的更多详细信息,请查看我们的更改日志!
Get Qt Creator 7
获取Qt Creator 7
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 7 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 7也可以在在线安装程序中更新。请在我们的bug追踪器中发布问题。你也可以在IRC上找到我们 #qt-creator on irc.libera.chat,并在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 Creator手册,也可以在Qt文档门户中在线访问。