{"id":698,"date":"2022-11-24T12:19:04","date_gmt":"2022-11-24T12:19:04","guid":{"rendered":"https:\/\/tbekk.com\/devstream\/?p=698"},"modified":"2022-11-24T12:21:14","modified_gmt":"2022-11-24T12:21:14","slug":"qt-creator-9-released","status":"publish","type":"post","link":"https:\/\/tbekk.com\/devstream\/2022\/11\/24\/qt-creator-9-released\/","title":{"rendered":"Qt Creator 9 released"},"content":{"rendered":"\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<ul class=\"wp-block-list\"><li><em><strong>Link:<\/strong><\/em><a href=\"https:\/\/www.qt.io\/blog\/qt-creator-7-released\"><em> <\/em><\/a><a href=\"https:\/\/www.qt.io\/blog\/qt-creator-9-released\"><em>qt.io\/blog\/qt-creator-9-released<\/em><\/a><\/li><li><em><strong>Publication Date: <\/strong>November 24, 2022<\/em><\/li><li><em><strong>Author: <\/strong><a href=\"https:\/\/www.qt.io\/blog\/author\/eike-ziller\">Eike Ziller<\/a><\/em><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p>We are happy to announce the release of Qt Creator 9!<\/p>\n\n\n\n<p>First of all you can read the&nbsp;<a href=\"https:\/\/code.qt.io\/cgit\/qt-creator\/qt-creator.git\/plain\/dist\/changelog\/changes-9.0.0.md?h=9.0\">change log<\/a>&nbsp;directly in Qt Creator now, under&nbsp;Help&nbsp;&gt;&nbsp;Change Log&nbsp;on Windows and Linux, and under&nbsp;Qt Creator&nbsp;&gt;&nbsp;Change Log&nbsp;on macOS!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Experimental Squish Support<\/h4>\n\n\n\n<p>The new plugin in Qt Creator 9 adds support for:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Opening existing Squish test suites<\/li><li>Creating new test suites and test cases<\/li><li>Recording test cases (limited)<\/li><li>Using Squish Runner and Server to run test suites or cases and view the results in the Squish output<\/li><li>Setting breakpoints before running tests to stop at certain locations and inspect the local variables, similarly to when debugging a test<\/li><\/ul>\n\n\n\n<p>Read more in the&nbsp;<a href=\"https:\/\/doc-snapshots.qt.io\/qtcreator-9.0\/creator-squish.html\">documentation<\/a>, and enable the new experimental plugin in&nbsp;<em>Help<\/em>&nbsp;&gt;&nbsp;<em>About Plugins<\/em>&nbsp;&gt;&nbsp;<em>Utilities<\/em>&nbsp;&gt;&nbsp;<em>Squish<\/em>&nbsp;(or&nbsp;<em>Qt Creator<\/em>&nbsp;&gt;&nbsp;<em>About Plugins<\/em>&nbsp;&gt;&nbsp;<em>Utilities<\/em>&nbsp;&gt;&nbsp;<em>Squish<\/em>&nbsp;on macOS).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Help<\/h4>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>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&#8217;s documentation. If your project uses Qt 5, you will be shown the Qt 5 documentation, and correspondingly for Qt 6.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Editing<\/h4>\n\n\n\n<p>We added an option for visualizing the indentation in the document. Each indentation level is marked with a vertical line.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.qt.io\/hs-fs\/hubfs\/indentation%20levels.png?width=862&amp;height=209&amp;name=indentation%20levels.png\" alt=\"Visualization of Indentation\"\/><\/figure>\n\n\n\n<p>You can now also change the line spacing. Both options can be configured in the preferences,&nbsp;<em>Text Editor<\/em>&nbsp;&gt;&nbsp;<em>Display<\/em>&nbsp;and&nbsp;<em>Text Editor<\/em>&nbsp;&gt;&nbsp;<em>Fonts &amp; Colors<\/em>&nbsp;respectively.<\/p>\n\n\n\n<p>We also fixed the perfomance when selecting very large sections of a document, saving of files with non-breaking spaces, and several other issues.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">C++<\/h4>\n\n\n\n<p>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&#8217;s default (100). Configure this in the preferences under&nbsp;<em>C++<\/em>&nbsp;&gt;&nbsp;<em>Clangd<\/em>.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>As always, there would be much more to say, and I recommend looking for more details in the&nbsp;<a href=\"https:\/\/code.qt.io\/cgit\/qt-creator\/qt-creator.git\/plain\/dist\/changelog\/changes-9.0.0.md?h=9.0\">change log<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">QML<\/h4>\n\n\n\n<p>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.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">CMake<\/h4>\n\n\n\n<p>We added support for&nbsp;<a href=\"https:\/\/cmake.org\/cmake\/help\/v3.21\/manual\/cmake-presets.7.html\">configure and build presets<\/a>, including conditions and toolchain files. In other terms, that is version 3 of CMake presets. Note that Qt Creator doesn&#8217;t do any version checks; it simply ignores any information in&nbsp;<em>CMakePresets.json<\/em>&nbsp;and&nbsp;<em>CMakeUserPresets.json<\/em>&nbsp;that it doesn&#8217;t know how to handle.<\/p>\n\n\n\n<p>You can also change the environment that is used for running CMake at configure time in Projects mode now.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Docker<\/h4>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Aside from Docker devices, it is now also possible to set remote Linux devices as the build device for a kit.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Get Qt Creator 9<\/h3>\n\n\n\n<p>The opensource version is available on the&nbsp;<a href=\"https:\/\/www.qt.io\/offline-installers?hsLang=en\">Qt download page under &#8220;Qt Creator&#8221;<\/a>, and you find commercially licensed&nbsp;packages on the&nbsp;<a href=\"https:\/\/login.qt.io\/\">Qt Account Portal<\/a>. Qt Creator 9 is also available as an update in the online installer. Please post issues in our&nbsp;<a href=\"https:\/\/bugreports.qt.io\/projects\/QTCREATORBUG\">bug tracker<\/a>. You can also find us on IRC on #qt-creator on&nbsp;<a href=\"https:\/\/web.libera.chat\/\">irc.libera.chat<\/a>, and on the&nbsp;<a href=\"http:\/\/lists.qt-project.org\/mailman\/listinfo\/qt-creator\">Qt Creator mailing list<\/a>.<\/p>\n\n\n\n<p>You can read the Qt Creator Manual in Qt Creator in the&nbsp;<a href=\"https:\/\/doc.qt.io\/qtcreator\/creator-help.html\" rel=\"noreferrer noopener\" target=\"_blank\">Help mode<\/a>&nbsp;or access it online in the&nbsp;<a href=\"https:\/\/doc.qt.io\/qtcreator\/index.html\" rel=\"noreferrer noopener\" target=\"_blank\">Qt documentation portal.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Link: qt.io\/blog\/qt-creator-9-released Publication Date: November 24, 2022 Author: Eike Ziller We are happy to announce the release of Qt Creator 9! First of all you can read the&nbsp;change log&nbsp;directly in&#8230; <a class=\"read-more-link\" href=\"https:\/\/tbekk.com\/devstream\/2022\/11\/24\/qt-creator-9-released\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111,32,9,11],"tags":[55,106],"class_list":["post-698","post","type-post","status-publish","format-standard","hentry","category-dev-tools","category-gui","category-news","category-qt","tag-qt","tag-qt-creator"],"_links":{"self":[{"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/posts\/698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/comments?post=698"}],"version-history":[{"count":1,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/posts\/698\/revisions"}],"predecessor-version":[{"id":699,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/posts\/698\/revisions\/699"}],"wp:attachment":[{"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/media?parent=698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/categories?post=698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/tags?post=698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}