当前位置:网站首页>QT creator 7-cmake update
QT creator 7-cmake update
2022-07-05 22:18:00 【aggs1990】
Qt Creator 7 - CMake update
Qt Creator 7-CMake to update
Thursday February 10, 2022 by Cristian Adam | Comments
2022 year 2 month 10 Thursday, Sunday Christian · Adam | Comment on
Qt Creator 7 comes with an updated CMake project configuration settings page.
Qt Creator 7 An updated CMake Project configuration settings page .
Stop CMake button
stop it CMake Button
The first feature that I want to point out is the “Stop CMake” button. Previously it was possible to stop the “Configure” step by pressing the “x” button fo the “Configure” progress bar.
The first feature I want to point out is “Stop CMake” Button . before , This can be done by pressing “ To configure ” Progress bar's “x” Button to stop “ To configure ” step .
Now it's as easy as clicking the "Stop CMake" button.
Now just click “Stop CMake” button .

Run CMake button and additional CMake options
function CMake Buttons and other CMake Options
Now it is possible to run CMake to configure a project if it’s already configured. Previously this was only possible by setting new -D/-U<variable>. values.
Now? , If the project has been configured , Can run CMake To configure the project . before , This can only be done by setting new -D/-U<variable> To achieve .
You can also pass command line options to the CMake configuration step, options like: "--warn-uninitialized", "--debug-find", and "--trace-expand".
You can also pass command line options to CMake Configuration steps , Options include :“--warn uninitialized”、“--debug find” and “-trace expand”.

Initial Configuration and Current Configuration
Initial configuration and current configuration
The “Initial CMake parameters” edit field has been refactored as a CMake variables list, and the command line options are now part of the “Additional CMake options” edit field.
“ initial CMake Parameters ” The edit field has been refactored to CMake Variable list , The command line option is now “ additional CMake Options ” Edit part of the field .
“Initial Configuration” list of variables contains the variables that are used to configure the CMake project for the first time. Some default values are inherited from the kit’s CMake configuration and are displayed in Italic.
“ Initial configuration ” The list of variables contains for the first configuration CMake Project variables . Some default values are inherited from the toolkit CMake To configure , And in italics .
The “Initial Configuration” list of variables is saved in the project’s source directory as the CMakeLists.txt.user file.
Variable “ Initial configuration ” List as user file CMakeLists.txt.user, Save in the source directory of the project .
The “Current Configuration” contains the list of CMake variables that are present in the CMake file-api json export located at the .cmake/api/v1/reply directory.
“ currently allocated ” contain CMake file-api json Exporting , There is CMake Variable list , The file is located at .cmake/api/v1/reply Catalog .
The variables that are inherited from the “Initial Configuration” are displayed in Italic. The mismatched values are displayed in red.
from “ Initial configuration ” Inherited variables are shown in italics . Mismatched values are displayed in red .
You might also notice that the grouping of the CMake variables is no longer there and that the view has alternating background colors for better visibility.
You may also notice that ,CMake The grouping of variables no longer exists , The view has alternating background colors , For better visibility .

Kit CMake configuration
Set of CMake To configure
The kit’s CMake configuration is now easily accessible at the “Kit Configuration” button.
Of this kit CMake Configuration is now available through “ Kit configuration ” Buttons for easy access .
This CMake configuration will be passed to the “Initial Configuration” as kit values, which then are passed to the “Current Configuration” as initial values.
The CMake The configuration will be passed as a suite value to “ Initial configuration ”, Then it is passed as the initial value to “ currently allocated ”.

Setting the -DQT_CREATOR_SKIP_PACKAGE_MANAGER_SETUP:BOOL=ON CMake variable in kit will make sure that any project using this kit will have the Qt Creator's package manager auto setup skipped.
Set in the suite CMake Variable -DQT_CREATOR_SKIP_PACKAGE_MANAGER_SETUP:BOOL=ON Will ensure that any projects using this suite will skip Qt Creator Package management automatically set .
Help links
Help link
You might have seen the “Additional CMake options” having a hyperlink. This hyperlink points to the offline CMake documentation, and if the installed CMake version doesn’t come with the CMake.qch file, the online documentation will be used.
You may have seen “ Additional CMake Options ” There is a hyperlink . This hyperlink points to offline CMake file , If installed CMake Version does not match CMake.qch To provide with , Online documentation will be used .

边栏推荐
- Win11 runs CMD to prompt the solution of "the requested operation needs to be promoted"
- Alternating merging strings of leetcode simple questions
- Common interview questions of redis factory
- 119. Pascal‘s Triangle II. Sol
- 【愚公系列】2022年7月 Go教学课程 004-Go代码注释
- Meituan dynamic thread pool practice ideas, open source
- 科技云报道:算力网络,还需跨越几道坎?
- 数博会精彩回顾 | 彰显科研实力,中创算力荣获数字化影响力企业奖
- Nacos 的安装与服务的注册
- AD637使用筆記
猜你喜欢

The Blue Bridge Cup web application development simulation competition is open for the first time! Contestants fast forward!

MySQL disconnection reports an error MySQL ldb_ exceptions. OperationalError 4031, The client was disconnected by the server

Overview of database recovery

PyGame practical project: write Snake games with 300 lines of code

Depth first DFS and breadth first BFS -- traversing adjacency tables

700. Search in a Binary Search Tree. Sol

Create a virtual machine on VMware (system not installed)

Implementation technology of recovery

90后测试员:“入职阿里,这一次,我决定不在跳槽了”

50. Pow(x, n). O(logN) Sol
随机推荐
2022-07-05:给定一个数组,想随时查询任何范围上的最大值。 如果只是根据初始数组建立、并且以后没有修改, 那么RMQ方法比线段树方法好实现,时间复杂度O(N*logN),额外空间复杂度O(N*
MySQL disconnection reports an error MySQL ldb_ exceptions. OperationalError 4031, The client was disconnected by the server
实战:fabric 用户证书吊销操作流程
[Chongqing Guangdong education] National Open University autumn 2018 0088-21t Insurance Introduction reference questions
Oracle triggers
数博会精彩回顾 | 彰显科研实力,中创算力荣获数字化影响力企业奖
A trip to Suzhou during the Dragon Boat Festival holiday
Form artifact
Comment développer un plug - in d'applet
Oracle hint understanding
K210 learning notes (IV) k210 runs multiple models at the same time
IIC bus realizes client device
A substring with a length of three and different characters in the leetcode simple question
How to add new fields to mongodb with code (all)
Basic grammar of interview (Part 1)
What if the files on the USB flash disk cannot be deleted? Win11 unable to delete U disk file solution tutorial
50. Pow(x, n). O(logN) Sol
每日刷题记录 (十四)
Unique occurrence times of leetcode simple questions
Advantages and disadvantages of the "Chris Richardson microservice series" microservice architecture