Guide and overview of qmqke for translating qmake documents (1)

Source: Internet
Author: User

The qmke documentation can be translated in free time. The language level is limited and translation is poor in some places. Please forgive me. If you can point it out, I will be very grateful and make modifications at the first time.

Original article connection:

Http://qt-project.org/doc/qt-5/qmake-manual.html

Http://qt-project.org/doc/qt-5/qmake-overview.html

 Since there are not many qmake manual and overview chapters, they will be translated together.

Qmake Guide

Qmake is a tool that helps simplify the building process of cross-platform project development. qmake can automatically generate makefile so that only a few lines of code can be used to create the corresponding makefile. You can use qmake qmak to generate makefile for software projects written using QT or not. Engineering files are created by programmers, which are usually very simple, but complex projects create complex engineering files.
Qmake includes additional functions that support QT development and automatically includes MOC and UIC compilation rules.
Qmake can automatically generate Microsoft Visual Studio project files without the need for programmers to change project files Content list
  • Overview
  • Getting started
  • Creating project files
  • Building common project types
  • Running qmake
  • Platform notes
  • Qmake Language
  • Advanced usage
  • Using precompiled headers
  • Using ing qmake
  • Reference
    • Variables
    • Replace Functions
      • Built-in replace functions
    • Test Functions
      • Built-in test functions
      • Test function library
These are the links of the original text. I will translate them one by one. The following is an overview of the first chapter.
  OVERVIEWThe qmak tool provides you with a guiding system for managing applications, libraries, or other component compilation processes. This method can control the use of source files and allow simple descriptions of the steps in this process. These descriptions are usually in a file. Qmake extends the information in each project file to makefile to run the commands required for compilation and connection.
Describe a projectProject (. pro) the file content is used to describe the project. qmake uses the information in the file to generate makefile containing all the commands required to build each project. project files generally contain the list of source files and header files, general configuration information and descriptions of some specific programs, such as the additional library connection list, alternatively, an additional include PATH project file can contain many different elements, including comments, variable declarations, built-in functions, and some simple control structures. In many simple projects, you only need to declare the source file and header file of the project with some basic configuration options. For more information about how to create a simple project file, please refer to gettingstarted. You can create more complex project files for complex projects. For an overview of project files, please refer to creating project files. For more details about the variable and method of the number used in the project file, see reference. You can use an application or library project template to specify special configuration options to fine-tune the building process, for more information, see building common project types. You can use the new Project Wizard of qtcreator to create a project file. Select a project template. QT creator creates a project file with default variables (. pro) allows you to build and run projects. you can modify the project file (. pro ). you can also use qmake to generate a project file. For more information about qmake command line parameters, see running qmake. The basic configuration function of qmake can process most cross-platform projects. However, using certain platform variables may be more useful or necessary. For more details, see Platform notes. Build a projectFor many simple projects, you only need to run qmake in the top-level directory of the project to generate makefile. Then, you can build the project based on the make tool of the makefile running platform. For more information about the environment variables used by qmake during the configuration building process, see using ing qmake. Use third-party LibrariesThird party libraries guide shows you how to use simple third-party libraries in your project Precompiled header fileIn large projects, the pre-compilation header may be used to improve the construction process. For more information, see using precompiled headers.

Guide and overview of qmqke for translating qmake documents (1)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.