User Tools

Site Tools


qt:project_structure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qt:project_structure [2010/12/08 21:58] – [The workflow view] mithatqt:project_structure [2011/04/01 11:01] (current) – [Source files] mithat
Line 20: Line 20:
 === Explicitly generated === === Explicitly generated ===
   * **''main.cpp''**   * **''main.cpp''**
-    * The project's main C++ file containing the main function.+    * The project's main C++ file containing the ''main'' function.
     * The name of this file is a convention, not a requirement.     * The name of this file is a convention, not a requirement.
   * **''{yourclass}.h''** and **''{yourclass}.cpp''**   * **''{yourclass}.h''** and **''{yourclass}.cpp''**
     * 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 ''Q_OBJECT'', a Qt macro used to implement signals and slots.+    * Probably contains ''Q_OBJECT'', a Qt macro used to implement signals and slots.
     * There may be more than one of these.     * There may be more than one of these.
   * **''{yourdialog}.ui''**   * **''{yourdialog}.ui''**
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 before building.+  * Repeat the above as needed. 
 +  * Whenever you add new files, be sure to reflect those changes into the *.pro file and rerun ''qmake'' before running building and testing.
   * Assuming {directory-name}.pro is correctly configured, the Makefile generated by ''[[qmake]]'' will automagically be configured to call [[moc]] and [[uic]] as needed.    * Assuming {directory-name}.pro is correctly configured, the Makefile generated by ''[[qmake]]'' will automagically be configured to call [[moc]] and [[uic]] as needed. 
  
qt/project_structure.1291845520.txt.gz · Last modified: 2010/12/08 21:58 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki