Qt Creator 9.0 arrives with Squish Runner and Server to run test suites or cases

qtcreator

Qt Creator is a cross-platform IDE written in C++, JavaScript and QML created for developing GUI applications with Qt libraries.

Recently the release of the new version was announced of the popular integrated development environment "QtCreator 9.0", version in which Squish support has been added, as well as an option to render indentations, LSP support and more.

QtCreator is designed to build cross-platform applications using the Qt library. Both classic C++ program development and the use of the QML language are supported, in which JavaScript is used to define scripts, and the structure and parameters of interface elements are set using CSS-like blocks.

Main new features of Qt Creator 9.0

In this new version that is presented of Qt Creator 9.0 we can find that added experimental support for Squish GUI testing framework, with it the Squish integration plugin allows the user to be able to open existing test cases and create new ones, register test cases (test cases), use Squish Runner and Squish Server to execute test cases and test cases, set points interrupt before executing tests to interrupt execution at a certain position and inspect variables.

Another important change is to display an API context hint, content is now rendered based on the Qt version checked in the project (ie Qt 5 documentation is displayed for Qt 5 projects and Qt 6 documentation is displayed for Qt 6 projects).

It is also highlighted that an option has been added to the editor to represent indentations in the document, thereby each indentation is marked with a separate vertical bar. Also added the ability to change the spacing between lines, and resolved performance issues when selecting very large blocks.

The C++ code model based on the backend of Clangd which supports the LSP protocol (Language Server Protocol) now can be managed with one instance of Clangd for the whole session (Previously, each project ran its own instance of Clangd.) The ability to change the priority of the Clangd background threads used for indexing has been added to the configuration.

Of the other changes that stand out from this new version:

  • It is now possible to edit C++ code style parameters directly from the main settings dialog without opening a separate dialog.
  • Added support for a dark theme when displaying the built-in help and documentation.
  • Moved the ClangFormat setting to the same section.
  • Fixed issues with opening QML files from the build directory instead of the source directory and missing breakpoints when using the reformatting function.
  • Added support for configuring and creating presets for CMake projects.

finally if you are interested in knowing more about it, you can check the details in the following link

How to install Qt Creator on Linux?

All those who are interested in being able to try QT creator on their systems should know that in most Linux distros will find the package within the repositories of these.

Although package updates generally take a few days to reach the repositories, it is better to download the installer from the official QT page where you can get the free version or for those who want to purchase a commercial version (with more features) can do it from the page.

Once the installer download is done, we are going to give it execution permissions with the following command:

sudo chmod +x qt-unified-linux-x64*.run

Now, we are going to install the package executing the following command:

sudo sh qt-unified-linux-x64*.run

In the case of Ubuntu users, you may need some additional packages which you can install with:

sudo apt-get install --yes qt5-default qtdeclarative5-dev libgl1-mesa-dev

Once these packages are installed, you can modify your desktop kit definition and select the correct version. Finally, you can finish creating the project and move on to coding.

Now for those who are users of Arch Linux, Manjaro, Arco Linux and other Arch Linux-based distros they can install the package directly from the repositories as the new version of QT creator is now available.

To install, just run the following command in the terminal:

sudo pacman -S qtcreator


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.