Qt Creator 9 released

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

First of all you can read the change log directly in Qt Creator now, under Help > Change Log on Windows and Linux, and under Qt Creator > Change Log on macOS!

Experimental Squish Support

The new plugin in Qt Creator 9 adds support for:

  • Opening existing Squish test suites
  • Creating new test suites and test cases
  • Recording test cases (limited)
  • Using Squish Runner and Server to run test suites or cases and view the results in the Squish output
  • Setting breakpoints before running tests to stop at certain locations and inspect the local variables, similarly to when debugging a test

Read more in the documentation, and enable the new experimental plugin in Help > About Plugins > Utilities > Squish (or Qt Creator > About Plugins > Utilities > Squish on macOS).

Help

We added support for dark themes to the Qt and Qt Creator documentation. When you switch Qt Creator to a dark theme, the Qt and Qt Creator documentation is also shown with a dark style. Since we cannot make any assumptions about other documentation that you might have registered, we do not change the appearance of these, though.

When you request context help for Qt API, we now try to show the documentation that best fits the Qt version that you specified in the active kit for the project, instead of just using the highest registered Qt version's documentation. If your project uses Qt 5, you will be shown the Qt 5 documentation, and correspondingly for Qt 6.

Editing

We added an option for visualizing the indentation in the document. Each indentation level is marked with a vertical line.

Visualization of Indentation

You can now also change the line spacing. Both options can be configured in the preferences, Text Editor > Display and Text Editor > Fonts & Colors respectively.

We also fixed the perfomance when selecting very large sections of a document, saving of files with non-breaking spaces, and several other issues.

C++

You can now use a single Clangd instance for a whole session, instead of one instance per project. This can be useful if you open multiple closely related projects into the same session. A new option in Clangd 15 allows you to set the priority of the background threads that Clangd uses for indexing and other work. We also reduced the default for the reported number of completion items to Clangd's default (100). Configure this in the preferences under C++ > Clangd.

The C++ code style settings are now directly editable in the preferences dialog, without an additional dialog. And the ClangFormat settings (if you enabled that plugin) are now also available there, making them better accessible.

As always, there would be much more to say, and I recommend looking for more details in the change log.

QML

We fixed the remaining cases in which Qt Creator could open QML files from the build directory instead of the source directory when following symbols. Also, if you use the reformatting feature you will no longer lose breakpoints and will keep your cursor position also on undo.

CMake

We added support for configure and build presets, including conditions and toolchain files. In other terms, that is version 3 of CMake presets. Note that Qt Creator doesn't do any version checks; it simply ignores any information in CMakePresets.json and CMakeUserPresets.json that it doesn't know how to handle.

You can also change the environment that is used for running CMake at configure time in Projects mode now.

Docker

Our work of supporting remote paths at various places continues throughout our code base. For example we added a file browser for remote files and directories, such as the build directory. Auto-detection on the remote was greatly improved, as was the device wizard.

Aside from Docker devices, it is now also possible to set remote Linux devices as the build device for a kit.

Get Qt Creator 9

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 9 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.

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