198 lines
4.3 KiB
HTML
198 lines
4.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of QMAKE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>QMAKE</H1>
|
|
Section: User Commands (1)<BR>Updated: 2017-04-09<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
qmake - cross-platform makefile generator for Qt
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>qmake</B>
|
|
|
|
<I>[mode] [options] [files]</I>
|
|
|
|
<BR>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>QMake</B>
|
|
|
|
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.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>MODE</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-project</B>
|
|
|
|
<DD>
|
|
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.
|
|
<DT id="2"><B>-makefile</B>
|
|
|
|
<DD>
|
|
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.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>WARNINGS OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="3"><B>-Wnone</B>
|
|
|
|
<DD>
|
|
Turn off all warnings; specific ones may be re-enabled by later -W options
|
|
<DT id="4"><B>-Wall</B>
|
|
|
|
<DD>
|
|
Turn on all warnings
|
|
<DT id="5"><B>-Wparser</B>
|
|
|
|
<DD>
|
|
Turn on parser warnings
|
|
<DT id="6"><B>-Wlogic</B>
|
|
|
|
<DD>
|
|
Turn on logic warnings (on by default)
|
|
<DT id="7"><B>-Wdeprecated</B>
|
|
|
|
<DD>
|
|
Turn on deprecation warnings (on by default)
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="8"><B>-o file</B>
|
|
|
|
<DD>
|
|
Write output to file
|
|
<DT id="9"><B>-d</B>
|
|
|
|
<DD>
|
|
Increase debug level
|
|
<DT id="10"><B>-t templ</B>
|
|
|
|
<DD>
|
|
Overrides TEMPLATE as <B>templ</B>
|
|
<DT id="11"><B>-tp prefix</B>
|
|
|
|
<DD>
|
|
Overrides TEMPLATE so that prefix is prefixed into the value
|
|
<DT id="12"><B>-help</B>
|
|
|
|
<DD>
|
|
Displays a help text
|
|
<DT id="13"><B>-v</B>
|
|
|
|
<DD>
|
|
Version information
|
|
<DT id="14"><B>-after</B>
|
|
|
|
<DD>
|
|
All variable assignments after this will be parsed after [files]
|
|
<DT id="15"><B>-norecursive</B>
|
|
|
|
<DD>
|
|
Do not do a recursive search
|
|
<DT id="16"><B>-recursive</B>
|
|
|
|
<DD>
|
|
Do a recursive search
|
|
<DT id="17"><B>-set <prop> <value></B>
|
|
|
|
<DD>
|
|
Set persistent property
|
|
<DT id="18"><B>-unset <prop></B>
|
|
|
|
<DD>
|
|
Unset persistent property
|
|
<DT id="19"><B>-query <prop></B>
|
|
|
|
<DD>
|
|
Query persistent property. Show all if <prop> is empty.
|
|
<DT id="20"><B>-qtconf file</B>
|
|
|
|
<DD>
|
|
Use <B>file</B> instead of looking for qt.conf
|
|
<DT id="21"><B>-cache file</B>
|
|
|
|
<DD>
|
|
Use <B>file</B> as cache [makefile mode only]
|
|
<DT id="22"><B>-spec spec</B>
|
|
|
|
<DD>
|
|
Use <B>spec</B> as QMAKESPEC [makefile mode only]
|
|
<DT id="23"><B>-nocache</B>
|
|
|
|
<DD>
|
|
Do not use a cache file [makefile mode only]
|
|
<DT id="24"><B>-nodepend</B>
|
|
|
|
<DD>
|
|
Do not generate dependencies [makefile mode only]
|
|
<DT id="25"><B>-nomoc</B>
|
|
|
|
<DD>
|
|
Do not generate moc targets [makefile mode only]
|
|
<DT id="26"><B>-nopwd</B>
|
|
|
|
<DD>
|
|
Do not look for files in pwd [project mode only]
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B>/usr/share/qt5/doc/qmake/qmake-manual.html,</B>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+assistant">assistant</A></B>(1)
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
This manual page was written by Brian Nelson <<A HREF="mailto:pyro@debian.org">pyro@debian.org</A>> based on
|
|
the output of
|
|
<B>qmake -help.</B>
|
|
|
|
Frederik Schwarzer <<A HREF="mailto:schwarzerf@gmail.com">schwarzerf@gmail.com</A>> updated it for Qt 4.5.2.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="27"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="28"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="29"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="30"><A HREF="#lbAE">MODE</A><DD>
|
|
<DT id="31"><A HREF="#lbAF">WARNINGS OPTIONS</A><DD>
|
|
<DT id="32"><A HREF="#lbAG">OPTIONS</A><DD>
|
|
<DT id="33"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="34"><A HREF="#lbAI">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:26 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|