I've googled for a while for this and failed to find something that in my opinion should be the first google result... Does anyone know of a page or other resourse with complete (and I mean it) syntax of the Qt project (*.pro) file? All I can find now is random examples on multiples pages, nothing solid.
Asked
Active
Viewed 1.2k times
20
-
http://qt-project.org/doc/qt-4.8/qmake-manual.html – Mat May 26 '13 at 18:09
-
More specifically, all the syntax is listed on a subpage: https://qt-project.org/doc/qt-4.8/qmake-advanced-usage.html – cmannett85 May 26 '13 at 18:11
-
3None of these specify **all** legal commands which is what I need. But this didn't stop someone from minusing me... – NPS May 26 '13 at 18:21
-
1Commands are not syntax, and any command you have found that is *not* listed in the docs has no guarantee of being API stable and therefore should be not used in client code. https://qt-project.org/doc/qt-4.8/qmake-function-reference.html – cmannett85 May 26 '13 at 18:25
1 Answers
24
*.pro files are actually qmake project files. There are a lot of information about qmake:

Gary Sheppard
- 4,764
- 3
- 25
- 35

Pavel Strakhov
- 39,123
- 5
- 88
- 127
-
As previously - this doesn't specify **all** legal commands (`build_pass` for instance). – NPS May 26 '13 at 18:21
-
`build_pass` is not a command, it's a variable. I've added more links to my answer. – Pavel Strakhov May 26 '13 at 18:28