qt:project_structure
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
qt:project_structure [2010/12/08 21:55] – [The file view] mithat | qt:project_structure [2011/04/01 11:01] (current) – [Source files] mithat | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== The file view ===== | ===== The file view ===== | ||
- | A Qt project is a collection of project description files, source code files, resource files, and binary output files. Some of these files must be explicitly generated using a text editor or similar tool, others are automatically generated by the build process. ((The explicit/ | + | A Qt project is a collection of project description files, source code files, resource files, and binary output files. Some of these files must be explicitly generated using a text editor or similar tool, others are automatically generated by the build process.((The explicit/ |
==== Project description files ==== | ==== Project description files ==== | ||
Line 20: | Line 20: | ||
=== Explicitly generated === | === Explicitly generated === | ||
* **'' | * **'' | ||
- | * The project' | + | * The project' |
* The name of this file is a convention, not a requirement. | * The name of this file is a convention, not a requirement. | ||
* **'' | * **'' | ||
* C++ class header and implementation files for a class that you derived from QObject (if needed). | * C++ class header and implementation files for a class that you derived from QObject (if needed). | ||
- | * May contain | + | * Probably contains |
* There may be more than one of these. | * There may be more than one of these. | ||
* **'' | * **'' | ||
Line 54: | Line 54: | ||
===== The workflow view ===== | ===== The workflow view ===== | ||
- | The typical Qt project workflow consists of the following major phases: creating a project, adding files to a project, building and testing a project. These are discussed below. | + | The typical Qt project workflow consists of the following major phases: creating a project, adding files to a project, building and testing a project. These are discussed below.((These phases hold true whether you are using a IDE or a simple command line based environment. However, an IDE will typically manage many of these tasks for you.)) |
==== Creating a project ==== | ==== Creating a project ==== | ||
Line 71: | Line 71: | ||
Notes: | Notes: | ||
- | * Repeat the above as needed. Whenever you add new files, be sure to reflect those changes into the *.pro file and regenerate the Makefile | + | * Repeat the above as needed. |
+ | * Whenever you add new files, be sure to reflect those changes into the *.pro file and rerun '' | ||
* Assuming {directory-name}.pro is correctly configured, the Makefile generated by '' | * Assuming {directory-name}.pro is correctly configured, the Makefile generated by '' | ||
qt/project_structure.1291845348.txt.gz · Last modified: 2010/12/08 21:55 by mithat