summaryrefslogtreecommitdiff
path: root/debian/manpages/qmake-qt4.1
blob: 89ec32e4330a3ef3ba591ab8382a84e6ce5c63d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
.TH QMAKE 1 "2005-07-23" "Nokia Corporation and/or its subsidiary(-ies)" ""
.SH NAME
qmake \- cross-platform makefile generator for Qt

.SH SYNOPSIS
.B qmake
.I "[mode] [options] [files]"
.br
.SH "DESCRIPTION"
.B QMake
has two modes, one mode for generating project files based on some
heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing
project.

.SH MODE
.TP
.B "\-project"
Put qmake into project file generation mode. In this mode qmake
interprets files as files to be built, defaults to *.c; *.ui; *.y; *.l;
*.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C.
.TP
.B "\-makefile"
Put qmake into makefile generation mode (default). In this mode qmake
interprets files as project files to be processed, if skipped qmake will
try to find a project file in your current working directory.

.SH WARNINGS OPTIONS
.TP
.BI "\-Wnone"
Turn off all warnings
.TP
.BI "\-Wall"
Turn on all warnings
.TP
.BI "\-Wparser"
Turn on parser warnings
.TP
.BI "\-Wlogic"
Turn on logic warnings

.SH OPTIONS
.TP
.BI "\-o" file
Write output to file
.TP
.BI "\-unix"
Run in unix mode
.TP
.BI "\-win32"
Run in win32 mode
.TP
.BI "\-macx"
Run in Mac OS X mode
.TP
.BI "\-d"
Increase debug level
.TP
.BI "\-t" templ
Overrides TEMPLATE as templ
.TP
.BI "\-tp" prefix
Overrides TEMPLATE so that prefix is prefixed into the value
.TP
.BI "\-help"
Displays a help text
.TP
.BI "\-v"
Version information
.TP
.BI "\-after"
All variable assignments after this will be parsed after [files]
.TP
.BI "\-norecursive"
Do not do a recursive search
.TP
.BI "\-recursive"
Do a recursive search
.TP
.BI "\-set <prop> <value>"
Set persistent property
.TP
.BI "\-query <prop>"
Query persistent property. Show all if <prop> is empty.
.TP
.BI "\-cache file"
Use file as cache [makefile mode only]
.TP
.BI "\-spec spec"
Use spec as QMAKESPEC [makefile mode only]
.TP
.BI "\-nocache"
Do not use a cache file [makefile mode only]
.TP
.BI "\-nodepend"
Do not generate dependencies [makefile mode only]
.TP
.BI "\-nomoc"
Do not generate moc targets [makefile mode only]
.TP
.BI "\-nopwd"
Do not look for files in pwd [project mode only]

.SH SEE ALSO
.PP
.BR /usr/share/qt4/doc/html/qmake-manual.html,
.BR assistant (1)
.SH AUTHOR
This manual page was written by Brian Nelson <pyro@debian.org> based on
the output of
.B "qmake -help".
Frederik Schwarzer <schwarzerf@gmail.com> updated it for Qt 4.5.2.