Qt Creator 14 released
Qt Creator 14发布
July 25, 2024 by Eike Ziller | Comments
2024年7月25日:Eike Ziller
We are happy to announce the release of Qt Creator 14!
我们很高兴地宣布Qt Creator 14的发布!
For a more detailed overview of what is new and improved in Qt Creator 14, please head over to our change log. Here are some examples:
有关Qt Creator 14中新增和改进内容的更详细概述,请访问我们的更改日志。以下是一些示例:
General
通用
- We started work on supporting Lua based plugins. This will make it possible to extend Qt Creator without the need to compile C++ plugins for all supported platforms. We will add API for various tasks piece by piece, starting with APIs for registering language servers, actions, preferences, and wizards in this version.
- 我们开始支持基于Lua的插件。这将使扩展Qt Creator成为可能,而无需为所有支持的平台编译C++插件。我们将为各种任务逐个添加API,首先是在此版本中注册语言服务器、操作、首选项和向导的API。
- We also added a nicer UI for managing plugins via the Extensions mode.
- 我们还添加了一个更好的UI,用于通过扩展模式管理插件。
Projects / Sessions
项目/会话
- We added File > Open Workspace for opening a directory as a project. A project file .qtcreator/project.json in the directory is used to set a name and file exclusion filters. This is also useful if you want to set up a language server that needs a project directory to work correctly.
- 我们添加了“文件”>“打开工作区”,用于将目录作为项目打开。目录中的项目文件.qtcreator/project.json用于设置名称和文件排除过滤器。如果你想设置一个需要项目目录才能正常工作的语言服务器,这也很有用。
- You can switch between hiding and showing the disabled kits for your project in Projects mode now.
- 现在,可以在项目模式下在隐藏和显示项目的禁用工具包之间进行切换。
- The options for advanced search and for searching in documents are now saved in the session.
- 高级搜索和在文档中搜索的选项现在保存在会话中。
- We made C++ code model settings and the CMake settings configurable per project.
- 我们为每个项目配置了C++代码模型设置和CMake设置。
- You can configure CMake settings and debuggers directly from CMake Presets now.
- 现在,可以直接从CMake预设配置CMake设置和调试器。
Editing
编辑
- We added various C++ refactoring actions, "Convert Function Call to Qt Meta-Method Invocation", "Move Class to a Dedicated Set of Source Files", and "Re-order Member Function Definitions According to Declaration Order", increased the availability of the "Add Curly Braces" refactoring, and fixed issues with C++ macros.
- 我们添加了各种C++重构操作,“将函数调用转换为Qt元方法调用”,“将类移动到一组专用的源文件”,以及“根据声明顺序重新排序成员函数定义”,提高了“添加括号”重构的可用性,并修复了C++宏的问题。
- We improved support for QML enums.
- 我们改进了对QML枚举的支持。
- The QML language server is now the default backend for the QML code model for Qt 6.8 and later. You can also use the QML language server for earlier Qt versions, or use the language server from Qt 6.8 or later for projects that use an earlier Qt version.
- QML语言服务器现在是Qt 6.8及更高版本QML代码模型的默认后端。还可以将QML语言服务器用于早期Qt版本,或将Qt 6.8或更高版本的语言服务器用于使用早期Qt版本的项目。
We also improved the performance of C++ debugging, fixed issues with dark system themes on Linux, and made lots of other improvements
我们还提高了C++调试的性能,修复了Linux上黑暗系统主题的问题,并进行了许多其他改进
Known issue: QTBUG-126275 on Linux/Wayland in some configurations. The workaround is to start Qt Creator with the environment variable QT_QPA_PLATFORM=xcb set.
已知问题:某些配置中Linux/Wayland上的QTBUG-126275。解决方法是使用设置的环境变量Qt_QPA_PLATFORM=xcb启动Qt Creator。
Commercial customers: Qt Creator 14 changes the backend for the license check. Please report any issues that you encounter. As a fallback, you can revert to the old license check by setting the environment variable QTC_USE_NAMEDLICENSE=1.
商业客户:Qt Creator 14更改了许可证检查的后端。请报告遇到的任何问题。作为后备方案,可以通过设置环境变量QTC_USE_NAMEDLICENSE=1来恢复到旧的许可证检查。
Get Qt Creator 14
获取Qt Creator 14
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 14 is also available as an update in the Qt 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 14也可作为Qt在线安装程序中的更新。请在我们的bug跟踪器中发布问题。还可以在IRC上找到我们,在IRC.libera.chat上的#qt-creater上,以及在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文档门户中在线访问。