当前位置:网站首页>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
边栏推荐
猜你喜欢

Jetpack之Room的使用,结合Flow

Construction of module 5 of actual combat Battalion

机器学习:VC维的概念和用途

High performance and high availability computing architecture of "microblog comments" in microblog system

Overseas digital authentication service provider advance AI was selected into the "2022 brand sea Service Market Research Report" of equalocean
solo 博客皮肤导入 skins 文件夹后出现 500 错误

二叉搜索树 230. 二叉搜索树中第K小的元素 1038. 从二叉搜索树到更大和树

Why is JSX syntax so popular?

How about counting Berry Pie 4? What are the possible ways to play?

MySQL multi table query
随机推荐
Yunhe enmo Guoqiang, identifiez - le, saisissez - le, avant l'ébullition de la base de données nationale
Construction of module 5 of actual combat Battalion
koa2学习和使用
MetaQ集群安裝測試
新钛云服荣膺“2022爱分析 · IT运维厂商全景报告”云管理平台CMP 代表厂商!...
爬虫入门实战:斗鱼弹幕数据抓取,附送11节入门笔记
搭建企业级NTP时间服务器
AI赋能新零售,「智」胜之道在于生态思维|数智夜话直播精选摘录
二叉树的序列化 力扣 297. 二叉树的序列化与反序列化 652. 寻找重复的子树
Solr basic operation
shell-运算符
穿越过后,她说多元宇宙真的存在
After working in the software development industry for six years, I changed my ideas in those years
AI首席架构师9-胡晓光 《飞桨模型库与行业应用》
I wonder if I can open an account today? In addition, is it safe to open an account online now?
Official website of Greentree
modelsim的TCL脚本的define incdir命令解析
AI empowers new retail, the way to win "wisdom" lies in ecological thinking | selected excerpts from digital intelligence night talk live broadcast
Solr basic operation 5
What is online account opening? In addition, is it safe to open a mobile account?