qt:pro_files
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
qt:pro_files [2010/12/07 19:43] – [File creation] mithat | qt:pro_files [2010/12/08 19:44] (current) – mithat | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Description ===== | ===== Description ===== | ||
- | For every Qt project there is a '' | + | For every Qt project there is a '' |
- | Typically a '' | + | The project's '' |
===== Syntax ===== | ===== Syntax ===== | ||
Line 14: | Line 14: | ||
===== File creation ===== | ===== File creation ===== | ||
+ | To create a '' | ||
+ | |||
Running '' | Running '' | ||
###################################################################### | ###################################################################### | ||
Line 28: | Line 30: | ||
</ | </ | ||
- | A virgin '' | + | In contrast, here is a virgin '' |
###################################################################### | ###################################################################### | ||
# Automatically generated by qmake (2.01a) Tue Dec 7 17:07:32 2010 | # Automatically generated by qmake (2.01a) Tue Dec 7 17:07:32 2010 | ||
Line 49: | Line 51: | ||
I have not yet tested Windows, but the above config option is supposedly not needed and/or invalid in Windows. | I have not yet tested Windows, but the above config option is supposedly not needed and/or invalid in Windows. | ||
- | ===== Adding files ===== | + | ===== Adding |
To add the files '' | To add the files '' | ||
< | < | ||
Line 57: | Line 59: | ||
HEADERS = {YourClass}.h | HEADERS = {YourClass}.h | ||
</ | </ | ||
+ | |||
+ | ===== Adding resource collection files ===== | ||
+ | For a resource to be compiled into the binary the *.qrc file must be mentioned in the .pro file: | ||
+ | < | ||
===== Additional Qt libraries ===== | ===== Additional Qt libraries ===== | ||
Line 65: | Line 71: | ||
where '' | where '' | ||
- | The above libraries | + | The above names correspond to the QtNetwork, QtOpenGL, QtSQL, QtXML, and QtAssistantClient+Qt3Support |
+ | |||
+ | ===== Official documentation ===== | ||
+ | [[http:// |
qt/pro_files.1291751035.txt.gz · Last modified: 2010/12/07 19:43 by mithat