Qt TEMPLATE+=
时间: 2023-09-23 15:06:16 浏览: 208
Qt C++静态库编写和调用示例
Qt TEMPLATE+= is a keyword used in Qt project files to specify the type or template of the project. This keyword can be followed by multiple arguments to represent different project types, for example:
- app: to create a desktop application.
- lib: to create a library project.
- console: to create a console application.
- subdirs: to create a project that contains multiple sub-projects.
Using Qt TEMPLATE+= can allow Qt Creator to provide default settings and code templates based on the project type, making it convenient to create and develop projects.
阅读全文