当前位置:网站首页>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 .

边栏推荐
- 科技云报道荣膺全球云计算大会“云鼎奖”2013-2022十周年特别贡献奖
- Daily question brushing record (XIV)
- Form artifact
- 装饰器学习01
- Granularity of blocking of concurrency control
- Solutions for unexplained downtime of MySQL services
- The statistics of leetcode simple question is the public string that has appeared once
- What if the files on the USB flash disk cannot be deleted? Win11 unable to delete U disk file solution tutorial
- Livelocks and deadlocks of concurrency control
- MySQL服务莫名宕机的解决方案
猜你喜欢

Leetcode simple question: check whether each row and column contain all integers

How can Bluetooth in notebook computer be used to connect headphones

Oracle advanced query

Shell script, awk condition judgment and logic comparison &||

Livelocks and deadlocks of concurrency control

Index optimization of performance tuning methodology

Bitbucket installation configuration

Concurrency control of performance tuning methodology

ESP32 hosted

The Blue Bridge Cup web application development simulation competition is open for the first time! Contestants fast forward!
随机推荐
Type of fault
Wonderful review of the digital Expo | highlight scientific research strength, and Zhongchuang computing power won the digital influence enterprise award
Basic grammar of interview (Part 1)
笔记本电脑蓝牙怎么用来连接耳机
装饰器学习01
Reptile practice
Did you brush the real title of the blue bridge cup over the years? Come here and teach you to counter attack!
Bitbucket installation configuration
Unique occurrence times of leetcode simple questions
Advantages and disadvantages of the "Chris Richardson microservice series" microservice architecture
Sentinel production environment practice (I)
Leetcode simple question: the minimum cost of buying candy at a discount
Decorator learning 01
Installation of VMware Workstation
科技云报道荣膺全球云计算大会“云鼎奖”2013-2022十周年特别贡献奖
"Chris Richardson microservices series" uses API gateway to build microservices
Search: Future Vision (moving sword)
Index optimization of performance tuning methodology
Some tutorials install the database on ubantu so as not to occupy computer memory?
Ad637 notes d'utilisation