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

边栏推荐
- Livelocks and deadlocks of concurrency control
- Shelved in TortoiseSVN- Shelve in TortoiseSVN?
- Metaverse Ape猿界应邀出席2022·粤港澳大湾区元宇宙和web3.0主题峰会,分享猿界在Web3时代从技术到应用的文明进化历程
- 1.3 years of work experience, double non naked resignation agency face-to-face experience [already employed]
- Calculation method of boundary IOU
- Storage optimization of performance tuning methodology
- Understand the basic concept of datastore in Android kotlin and why SharedPreferences should be stopped in Android
- Lightweight dynamic monitorable thread pool based on configuration center - dynamictp
- Evolution of large website architecture and knowledge system
- Database tuning solution
猜你喜欢

Three "factions" in the metauniverse

boundary IoU 的计算方式

Alternating merging strings of leetcode simple questions

Pl/sql basic syntax

Blocking protocol for concurrency control

What if the files on the USB flash disk cannot be deleted? Win11 unable to delete U disk file solution tutorial

Win11 runs CMD to prompt the solution of "the requested operation needs to be promoted"

笔记本电脑蓝牙怎么用来连接耳机

Countdown to 92 days, the strategy for the provincial preparation of the Blue Bridge Cup is coming~

Web3为互联网带来了哪些改变?
随机推荐
从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
装饰器学习01
Analyse des risques liés aux liaisons de microservices
Countdown to 92 days, the strategy for the provincial preparation of the Blue Bridge Cup is coming~
Three "factions" in the metauniverse
Shelved in TortoiseSVN- Shelve in TortoiseSVN?
"Chris Richardson microservices series" uses API gateway to build microservices
2022-07-05: given an array, you want to query the maximum value in any range at any time. If it is only established according to the initial array and has not been modified in the future, the RMQ meth
Decorator learning 01
Nacos installation and service registration
What changes has Web3 brought to the Internet?
Regular expressions and re Libraries
Leetcode simple question ring and rod
The American Championship is about to start. Are you ready?
Interprocess communication in the "Chris Richardson microservice series" microservice architecture
Win11缺少dll文件怎么办?Win11系统找不到dll文件修复方法
Index optimization of performance tuning methodology
Database tuning solution
Platformio create libopencm3 + FreeRTOS project
database mirroring