当前位置: 首页 > news >正文

学习qmake

qmake Manual 

Manual:使用手册,说明书

simplify:使简易

development projects:开发项目

across:跨越

The qmake tool helps simplify the build process for development projects across different platforms.

automates:使自动化

a few:一些

each:每一个

It automates the generation of Makefiles so that only a few lines of information are needed to create each Makefile. You can use qmake for any software project, whether it is written with Qt or not.

qmake generates a Makefile based on the information in a project file. Project files are created by the developer, and are usually simple, but more sophisticated project files can be created for complex projects.

sophisticated:复杂巧妙的

complex:复杂的

additional:额外的

automatically:自动地

qmake contains additional features to support development with Qt, automatically including build rules for moc and uic.

qmake can also generate projects for Microsoft Visual studio without requiring the developer to change the project file.

Overview 

oriented:面向

approach:方法

concisely:简洁的

typically:典型地,通常

expands:扩展

The qmake tool provides you with a project-oriented system for managing the build process for applications, libraries, and other components. This approach gives you control over the source files used, and allows each of the steps in the process to be described concisely, typically within a single file. qmake expands the information in each project file to a Makefile that executes the necessary commands for compiling and linking.

Describing a Project 

 Project :项目

general:常规的

specific:具体的

extra:额外的

Projects are described by the contents of project (.pro) files.

qmake uses the information within the files to generate Makefiles that contain all the commands that are needed to build each project.

Project files typically contain a list of source and header files, general configuration information, and any application-specific details, such as a list of extra libraries to link against, or a list of extra include paths to use.

comments:注释

declaration:声明

built-in:内置

simple:简单的

option:选项

Project files can contain a number of different elements, including comments, variable declarations, built-in functions, and some simple control structures. In most simple projects, it is only necessary to declare the source and header files that are used to build the project with some basic configuration options. For more information about how to create a simple project file, see Getting Started.

overview:概述

You can create more sophisticated project files for complex projects. For an overview of project files, see Creating Project Files. For detailed information about the variables and functions that you can use in project files, see Reference.

templates:模板

specify:明确指出

fine:细小地

tune:调整

You can use application or library project templates to specify specialized configuration options to fine tune the build process. For more information, see Building Common Project Types.

wizard:向导程序

suit:满足(某人)需要

purpose:目的

You can use the Qt Creator new project wizard to create the project file. You choose the project template, and Qt Creator creates a project file with default values that enable you to build and run the project. You can modify the project file to suit your purposes.

description:描述

You can also use qmake to generate project files. For a full description of qmake command line options, see Running qmake.

feature:特征

The basic configuration features of qmake can handle most cross-platform projects. However, it might be useful, or even necessary, to use some platform-specific variables. For more information, see Platform Notes.

Reference 

Reference:参考书目,查阅

The reference sections describe in detail the variables and functions that are available for use in qmake project files.

Variable Reference 

recognize:认识

configure:配置

Variables describes the variables that are recognized by qmake when configuring the build process for projects.

CONFIG 

internally:在内部

compilation:编译

Specifies project configuration and compiler options. The values are recognized internally by qmake and have special meaning.

The following CONFIG values control compilation flags:


release
The project is to be built in release mode. If debug is also specified, the last one takes effect.


debug
The project is to be built in debug mode.


debug_and_release
The project is prepared to be built in both debug and release modes.

process:加工
When you use the debug_and_release option (which is the default under Windows), the project will be processed three times: one time to produce a "meta" Makefile, and two more times to produce a Makefile.Debug and a Makefile.Release.

CONFIG(debug , debug | release){DESTDIR += $$PWD/bin/Debug
}else{DESTDIR += $$PWD/bin/Release
}
Qt编译debug和release版本--CONFIG(debug,debug|release)_config(debug, debug|release) {-CSDN博客


 

 


http://www.mrgr.cn/news/59601.html

相关文章:

  • 移情别恋c++ ദ്ദി˶ー̀֊ー́ ) ——15.C++11(1)
  • jsoup常用语法功能汇总
  • 通过企业架构蓝图(EA Blueprint)构建企业数字化转型之路
  • 文件实时备份软件下载
  • 充分统计量
  • MediaGo(m3u8视频下载工具) v3.0.0.5 免费版
  • w~大模型~合集11
  • .net core 读取 appsettings.json 值
  • 基于SSM轻型卡车零部件销售系统的设计
  • 对角两对双差速轮AGV的动力学解算
  • SpringBoot中yaml配置文件中文字符异常以及将多个独立的IDEA项目整合到一个项目里当做模块的处理
  • visual studio断点无法命中
  • 【学术论文投稿】Windows11开发指南:打造卓越应用的必备攻略
  • Oracle 第7章:数据完整性约束
  • 10月27日
  • 【前端面试】Typescript
  • 【遗传算法】基于遗传模拟退火算法的风电功率聚类分析
  • springboot094基于web的酒店客房管理系统(论文+源码)_kaic
  • 利用编程思维做题之计算二叉树最大宽度
  • 《战场车辆及部件损毁识别与评估的神经网络新路径》