Eike Ziller

Qt Creator 4.2 Beta released

Published Wednesday October 26th, 2016
11 Comments on Qt Creator 4.2 Beta released
Posted in Dev Loop, Qt, QtCreator, Releases

We are happy to announce the release of Qt Creator 4.2 Beta.

Qt SCXML Editor

Flat Dark Theme - Qt Creator 4.1

Qt SCXML is a new module in Qt that allows you to create state machines from State Chart XML and embed them into Qt C++ and Qt Quick applications (Overview). It was released as Technical Preview in Qt 5.7 and will be released fully supported with Qt 5.8.

Qt Creator 4.2 now supplements the module by offering a graphical editor for SCXML (experimental). It features editing states and sub-states, transitions, events, and all kinds of properties. The editor is experimental and the plugin is not loaded by default. Turn it on in Help > About Plugins (Qt Creator > About Plugins on macOS) to try it.

Projects Mode

We reworked how you select the project and it’s diverse settings in Projects mode. Instead of nested tabs, you now select the project from a dropdown, and the settings that you want to edit from a tree that shows all available kits and other categories, making for a much cleaner UI. Enabling use of a kit for a project is now easily done by clicking the entry in the tree. Please provide feedback on any remaining issues through our bug tracker.

Qt Quick Designer

Qt Quick Designer has received many smaller features in this release. In the connections editor there is a new section for managing the imports and property definitions that are necessary for using C++ backend objects (documentation). Also support for padding (Qt Quick 2.6) was added, and you can now edit the when condition of states, and the diverse font properties of text items.

Other Additions and Improvements

When profiling your QML code you now have the option to show memory usage and allocations as flame graphs as well.

We added Tools > Diff > Diff Current File and Diff Open Files for showing a local diff of the modifications of files in Qt Creator with respect to their versions on disk.

Performance of opening CMake projects was improved, and support for predefined options for properties was added.

There were many more changes, which are described in more detail in our change log.

Get Qt Creator 4.2 Beta

The opensource version is available on the Qt download page, and you find commercially licensed packages on the Qt Account Portal. 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.

Do you like this? Share it
Share on LinkedInGoogle+Share on FacebookTweet about this on Twitter

Posted in Dev Loop, Qt, QtCreator, Releases


guest says:

Great, i want to know if you’ve added more features like to be able to move to a class or function declaration/definition from a different file. If not is there a way to do this other than opening that file by myself.
Apologies if this is a dumb question,

Eike Ziller Eike Ziller says:

Not sure if I understand what you mean. You can jump to arbitrary classes and functions e.g. using locator ‘c’ and ‘m’ filters (http://doc.qt.io/qtcreator/creator-editor-locator.html), you can use F2 for jumping to the definition of the symbol under the text cursor, Shift-F2 to jump between declaration and definition of the function that the text cursor is in, and there are things like the class browser and type hierarchy viewer (switch to these by changing or splitting the navigation view with the tool buttons where the project tree is usually is shown).

Sandeep says:

The diff feature seems to only show differences between currently unsaved changes and the file on disk. It seems to me that a far more useful feature is to diff the current file against the pristine version defined by the version control system (i.e, the output of an svn/git diff), preferably with highlights on the editor diff sidebar. Is this hard to implement?

Eike Ziller Eike Ziller says:

Do you mean anything else than we already provide through “Tools > <VCS> > ….” ?

Sandeep says:

Apologies – I hadn’t explored the options under Tools -> Git, which clearly has the options I want. I was looking at Tools -> Diff instead, which had me briefly confused. However, I would still like to see an option to highlight git diffs on the editor sidebar (as opposed to local changes which disappear when I close the editor window). Would this be possible?

Kweku says:

How can I use a mingw/gcc variant with a win32 thread model with qtcreator to compile c++ programs? Currently only the posix thread variants seem to work with qbs in developing console applications. I want to use recent snapshots of gcc 7 (equation.com) which are updated regularly but use win32 thread model for the dev builds….


Kai Koehne Kai Koehne says:

I don’t see why qbs or Qt Creator should care about which exact threading lib you use for your application.

Could you file a bug report with more details at https://bugreports.qt.io/browse/QBS ?

Michał says:

Could you please add possibility to detach Application output and other tabs as separate window? I would like to have it on second screen.

Andre says:

Some features I would find super useful:
– auto suggestion of variable names based on the class name when declaring a variable. eg FileAdapater i might want to call it fileAdapter or mFileAdapter. saves quite a bit of typing. intellij has this.
– auto suggestion of includes
– not sure if possible but would love something to optimize includes by suggesting redundant ones or suggesting forward declarations.

Jason says:

Now that there is a diff preview, is there any chance of integrating it with git and using that to merge changes as you edit the file? (Future version of course)

Brad says:

Great work guys, Qt Creator is one of my favorite IDEs. Is there any plan to add support for fuzzy searching in the locator? I saw this https://codereview.qt-project.org/#/c/61581/ but it looks like it was abandoned over a year ago.

Commenting closed.

Get started today with Qt Download now