Qt Creator 17 Beta released

We are happy to announce the release of Qt Creator 17 Beta!

You find some of the changes and improvements listed here. Please head over to our change log for a more complete list.

General

We updated many of the icons, and the "2024" themes that we introduced in Qt Creator 16 are now the default. You can still use Preferences > Environment > Interface > Theme to select a different theme, of course.

Languages

We switched our prebuilt binaries to LLVM 20.1.3, for updated C++ support. There are new quick actions for adding Qt's string literal operators like "_ba" or "_L1" to string literals. We also fixed some issues with function-like built-ins and function-like macros.

For QML, the code style options in Preferences > Qt Quick > Code Style now allow using the qmlformat that is integrated into the QML language server for code formatting, as well as the built-in formatter, and a custom, qmlformat compatible formatter. Reformatting the document is now also available via the context menu and the Tools > QML/JS menu.

Projects

A bigger change in Qt Creator 17 is that we made run configurations "part of" the build configuration. Before this, the build configurations and run configurations were completely independent. Now, each run configuration belongs to a certain build configuration, and switching the active build configuration also switches the set of available run configurations. This covers the often requested use case of having different run parameters, like different command line arguments or different environments for different build configurations, such as Debug or Release.

Additionally, you can now copy the values from one run configuration to another, regardless of which build configuration they belong to, with the new Clone into This button.

We added a few features that make your life as a user easier when you want to use Qt functionality that you haven't made available to your project yet:

  • We added a refactoring action for unknown Qt classes to include the corresponding header and add the missing package dependency to the project file.
  • We added a refactoring action for missing included Qt files to add the missing package dependency to the project file.
  • For CMake projects we added the option to install missing Qt components with the Qt Online Installer (if Qt Creator is linked to one) when the CMake configuration fails with missing Qt packages.

The integration with the Qt Online Installer can be turned off by setting the CMake variable QT_CREATOR_SKIP_PACKAGE_MANAGER_SETUP=ON or by turning off Preferences > CMake > General > Package manager auto setup.

Analyzer

For Axivion we added support for local dashboards with new tool buttons Local Build and Local Dashboard to the Issues  view in the Debug > Axivion mode. We also added various new settings in Preferences > Analyze > Axivion.

Version Control

For the Git version control we added variants for the various "diff" actions that work on the staged changes instead of unstaged changes. The tooltip for Instant Blame now has a new action for reverting a change, and the Create Branch dialog is now also able to create annotated tags.

Get Qt Creator 17 Beta

The new version is available under Preview > Qt Creator 17.0.0-beta1 in the Qt Online Installer (commercial, opensource). You also find commercially licensed offline installers on the Qt Account Portal, and opensource packages on our opensource download page under Pre-releases. Qt Creator 17 is a free upgrade for commercial license holders.

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.

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

 


Blog Topics:

Comments