qmake-qt4

NAME

qmake - cross-platform makefile generator for Qt

SYNOPSIS

qmake [mode] [options] [files]

DESCRIPTION

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.

MODE

-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; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C
-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

WARNINGS OPTIONS

I -Wnone
Turn off all warnings
I -Wall
Turn on all warnings
I -Wparser
Turn on parser warnings
I -Wlogic
Turn on logic warnings

OPTIONS

I -o file
Write output to file
I -unix
Run in unix mode
I -win32
Run in win32 mode
I -macx
Run in Mac OS X mode
I -d
Increase debug level
I -t templ
Overrides TEMPLATE as templ
I -tp prefix
Overrides TEMPLATE so that prefix is prefixed
into the value
I -help This help
I -v
Version information
I -after
All variable assignments after this will be parsed after [files]
I -norecursive
Don't do a recursive search
I -recursive
Do a recursive search
I -cache file
Use file as cache [makefile mode only]
I -spec spec
Use spec as QMAKESPEC [makefile mode only]
I -nocache
Don't use a cache file [makefile mode only]
I -nodepend
Don't generate dependencies [makefile mode only]
I -nomoc
Don't generate moc targets [makefile mode only]
I -nopwd
Don't look for files in pwd [project mode only]

SEE ALSO

R /usr/share/qt4/doc/html/qmake-manual.html, assistant(1)

AUTHOR

This manual page was written by Brian Nelson <pyro@debian.org> based on the output of qmake -help.