Qt Creator 12 released

Qt Creator 12 has been released. Some highlight updates are as follows:

new function

Integrated Compiler Explorer

Use Tools > Compiler Explorer > Open Compiler Explorer to open the editor integrated with the Compiler Explorer from https://godbolt.org . As you write code, Qt Creator asks Compiler Explorer to compile the code, generate assembly, and optionally execute the code, then display the results to you, just like on its website. You can open multiple editors and configure different compilers. Save the document, including settings, as a .qtce file to share later or continue the experiment.

The plugin is disabled by default, so first enable it in Help > About Plugins > CompilerExplorer (or Qt Creator > About Plugins > CompilerExplorer on macOS).

CMake Debugging 和 Profiling

CMake 3.27 and later include debugging capabilities through the Debug Adapter Protocol (DAP). Qt Creator 12 implements debugging via DAP in Debug mode > DAP, which means you can now set breakpoints in the project's CMake file and debug the CMake configuration process. You can also use Debug > Start Debugging > Start CMake Debugging to trigger CMake debugging more directly, rather than through "Debug" mode.

Additionally, the new Analyze > CMake Profiler starts CMake in profiling mode (available since CMake 3.18) and opens the results in Qt Creator's trace file viewer.

Screen recording

The ScreenRecorder plugin makes it easy to create screen (partial) recordings for bug reporting, sharing, blog posts, and more. The plug-in is disabled by default and can be  enabled in Help > About Plugins > ScreenRecorder (or Qt Creator > About Plugins > ScreenRecorder on macOS) .

More details can be found in the official announcement .

Guess you like

Origin www.oschina.net/news/267922/qt-creator-12-released