Qt Creator 4.6 Beta released
February 07, 2018 by Eike Ziller | Comments
We are happy to announce the release of Qt Creator 4.6 Beta!
C++ Support
The possibly most noteworthy and least directly visible change is that we upgraded the backend for the Clang code model from Clang 3.9 to Clang 5.0. This enables support for many C++17 features that were not available in Clang 3.9. The Clang code model is not used by default. Open Help > About Plugins (Qt Creator > About Plugins on macOS) and turn on the ClangCodeModel
plugin to enable it.
Another feature that is not visible until you enable it, is the new option to integrate Clang-Tidy and Clazy warnings into the diagnostic messages that you see in the C++ editor. Go to Options > C++ > Code Model > Clang Code Model Warnings, create a copy of one of the presets, and choose the checks that you want to be performed.
The informational tooltips on symbols are now generated from information from Clang instead of the built-in model (if you enabled the Clang code model). It now resolves auto
to the actual type and shows template parameters for template types. It shows the first or the \brief
paragraph of a documentation comment, too.
We also added separate highlighting of function definitions and fixed some issues with saving header files on Windows while Clang has a grip on them.
Navigation
We added 3 more filters to Locator. Type "b<space>" to jump to a bookmark, filtering on file name and notes. The other two are not directly related to navigation but nevertheless useful.
The filter "t<space>" triggers an item from the main menu. You can either use the display name of the item to locate it, or parts of the menu path leading to it. For example "t sess expe" could be used to trigger the menu item File > Sessions > Experimental Stuff.
Use "=<space>" to evaluate simple ECMAScript (JavaScript) expressions. You have all functionality from the ECMA-262 specification at your disposal, and for convenience, we also added the functions from the Math
object as global functions (so you can write "max(1, 2)" instead of "Math.max(1, 2)").
We continued the work on the File System navigation pane that we started with 4.5. It now has breadcrumbs for the file path at the top, and we added actions for adding, removing, and renaming files to its context menu.
Model Editor
Thanks to Jochen, the original contributor to the model editor, it received a big update in this release. It now supports text alignment and multi-line object names. You can export only selected elements or the whole diagram to images. A wider range of panes now supports drag & drop of items. Enable the model editor by enabling the plugin in Help > About Plugins (Qt Creator > About Plugins on macOS).
There have been many more improvements all over Qt Creator. Please have a look at our changelog for a more detailed overview.
Get Qt Creator 4.6 Beta
The opensource version is available on the Qt download page, and you find commercially licensed packages on the Qt Account Portal. Qt Creator 4.6 Beta is also available under Preview > Qt Creator 4.6.0-beta1 in the online installer. Please post issues in our bug tracker. You can also find us on IRC on #qt-creator on chat.freenode.net, and on the Qt Creator mailing list.
Blog Topics:
Comments
Subscribe to our newsletter
Subscribe Newsletter
Try Qt 6.7 Now!
Download the latest release here: www.qt.io/download.
Qt 6.7 focuses on the expansion of supported platforms and industry standards. This makes code written with Qt more sustainable and brings more value in Qt as a long-term investment.
We're Hiring
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.