当前位置:网站首页>QT learning 05 introduction to QT creator project
QT learning 05 introduction to QT creator project
2022-06-30 00:00:00 【A little black sauce】
Qt Study 05 Qt Creator Project introduction
Qt Creator engineering management
Qt Creator With The way of the project Manage the source code
One Qt Creator The project includes Different types of The file of :
.pro Project description file ( important )
.pro.user User profile ( Is not important )
.h The header file
.cpp Source file
.ui Interface description file
Resource file ( picture , Audio , etc. )
.pro Project description file
.pro The basic composition of the project description document
# - Comment start character
QT - Module declaration
TARGET - Executable file name
TEMPLATE - Program template declaration ( Whether to generate dynamic library or executable file )
SOURCE - Source file declaration
HEADERS - Header file declaration
FORMS - See statement for interface document
RC_FILE - Resource file declaration
.pro Advanced variables in the project description file
INCLUDEPATH - Header file search path
CONFIG - Set the configuration and compilation options for the project
LIBS - Add third party library files
DEFINES - Define compilation macro
CONFIG To configure
CONFIG Used to set the project Configuration information and Compilation options
CONFIG Common options for
debug - structure debug Version of the executable
release - structure release Version of the executable
debug_and_release - At the same time build debug Version and release edition
warn_on - Output as many warning messages as possible
warn_off - Do not output warning messages
.pro The nature of the document is Qt Medium Makefile file !
.pro The nature of the document

Project documents
Generally speaking , The descriptions in the project file are Using relative paths
And the relative path is Relative to the project file itself for
Qt Creator take Project documents As Target file
Be careful :
1.Qt Creator When the project file is opened, a .pro.user file
2…pro.user The file contains some information related to Qt Related configuration information
3. When you need to move items between different computers , It is suggested to delete .pro.user file
Concepts in engineering
structure (build)
For All files are compiled , Final Generate executable
Debug edition
Sure Program debugging Build version of
The executable program contains debugging information , The operation efficiency is not high
Release edition
Final release Build this version of the application
No debug information , High operational efficiency
Summary
- Qt Creator With The way of the project Manage the source code
- One Qt Creator The project includes Different types of The file of
- .pro File is used to To configure and organization Information about the whole project
- .pro When you file Qt Platform independent in Makefile file
t Creator With The way of the project Manage the source code - One Qt Creator The project includes Different types of The file of
- .pro File is used to To configure and organization Information about the whole project
- .pro When you file Qt Platform independent in Makefile file
- Qt Creator Provides Necessary for development Of Fast and efficient The function of
边栏推荐
- Serialization of binary tree 297 Serialization and deserialization of binary tree 652 Find duplicate subtrees
- Matlab exercises -- program control process exercise
- [wechat applet] understand the basic composition of the applet project
- 大厂试水 HPE推出Arm CPU通用服务器产品
- ThinkPad VMware installation virtual machine: this host supports Intel VT-x, but Intel VT-x is disabled (problem resolution)
- Xutils3 transfer set
- solo 博客皮肤导入 skins 文件夹后出现 500 错误
- 剑指 Offer 13. 机器人的运动范围
- Overseas digital authentication service provider advance AI was selected into the "2022 brand sea Service Market Research Report" of equalocean
- 由GlideException: Failed DecodePath{DirectByteBuffer->GifDrawable->Drawable}引起的刨根问底
猜你喜欢

简单理解B树和B+树

Jetpack之Room的使用,结合Flow

Zhongkang holdings opens the offering: it plans to raise HK $395million net, and it is expected to be listed on July 12

Head on Amway! Good looking and practical motor SolidWorks model material see here

LC:最大子数组和

Exploration and Practice on the future direction of byte cloud database

MySQL:SQL概述及数据库系统介绍 | 黑马程序员

@Scheduled注解的坑,我替你踩了

Leetcode (680) -- verifying palindrome string II

Matplotlib histogram of Matplotlib visualization plt bar()
随机推荐
modelsim的TCL脚本的define incdir命令解析
Solr basic operation 1
What is online account opening? In addition, is it safe to open a mobile account?
我想知道今天还可以开户么?另外想问,现在在线开户安全么?
小程序插件接入、开发与注意事项
Buffer flow exercise
This simple little function saves 213 hours for our production research team in half a year
MySQL multi table query
Simple understanding of B tree and b+ tree
FPGA Development (2) -- IIC communication
FPGA开发(1)——串口通信
About mongodb error: connecting to: mongodb://127.0.0.1:27017/?compressors=disabled &gssapiServiceName=mongodb
Cacti maximum monitoring number test
Overseas digital authentication service provider advance AI was selected into the "2022 brand sea Service Market Research Report" of equalocean
二叉搜索树 230. 二叉搜索树中第K小的元素 1038. 从二叉搜索树到更大和树
Gradle serialization 7- configuration signature
Solr basic operation 4
Et la tarte aux framboises 4? Quels sont les jeux possibles?
Fund valuation, expenses and accounting
Sword finger offer 14- I. cut rope