当前位置:网站首页>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 .
边栏推荐
- Stored procedures and stored functions
- boundary IoU 的计算方式
- Win11缺少dll文件怎么办?Win11系统找不到dll文件修复方法
- A trip to Suzhou during the Dragon Boat Festival holiday
- Code bug correction, char is converted to int high-order symbol extension, resulting in changes in positivity and negativity and values. Int num = (int) (unsigned int) a, which will occur in older com
- 微服務鏈路風險分析
- Shell script, awk condition judgment and logic comparison &||
- 如何向mongoDB中添加新的字段附代码(全)
- Overriding equals() & hashCode() in sub classes … considering super fields
- How to quickly experience oneos
猜你喜欢
MySQL disconnection reports an error MySQL ldb_ exceptions. OperationalError 4031, The client was disconnected by the server
Web3为互联网带来了哪些改变?
"Chris Richardson microservices series" uses API gateway to build microservices
Pl/sql basic case
Matlab draws a cute fat doll
Sentinel production environment practice (I)
Leetcode simple question ring and rod
Technology cloud report won the special contribution award for the 10th anniversary of 2013-2022 of the "cloud Ding Award" of the global cloud computing conference
The Blue Bridge Cup web application development simulation competition is open for the first time! Contestants fast forward!
The real situation of programmers
随机推荐
Livelocks and deadlocks of concurrency control
Storage optimization of performance tuning methodology
C language knowledge points link
boundary IoU 的计算方式
[Yugong series] go teaching course 003-ide installation and basic use in July 2022
Unique occurrence times of leetcode simple questions
How to add new fields to mongodb with code (all)
Common interview questions of redis factory
50. Pow(x, n). O(logN) Sol
Comment développer un plug - in d'applet
Kubernetes Administrator certification (CKA) exam notes (IV)
Go语言学习教程(十五)
A trip to Suzhou during the Dragon Boat Festival holiday
Oracle hint understanding
Some tutorials install the database on ubantu so as not to occupy computer memory?
What if the files on the USB flash disk cannot be deleted? Win11 unable to delete U disk file solution tutorial
Business learning of mall commodity module
Create a virtual machine on VMware (system not installed)
[agc009e] eternal average - conclusion, DP
Interprocess communication in the "Chris Richardson microservice series" microservice architecture