Warning, /frameworks/kdoctools/docs/qt5options/man-qt5options.7.docbook is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" ?>
0002 <!DOCTYPE refentry PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
0003 <!ENTITY % English "INCLUDE">
0004 ]>
0005 
0006 <refentry lang="&language;">
0007 <refentryinfo>
0008 <title>&Qt; Command Line Documentation</title>
0009 <author>&Lauri.Watts; &Lauri.Watts.mail;</author>
0010 <author>&Burkhard.Lueck; &Burkhard.Lueck.mail;</author>
0011 <date>2016-06-04</date>
0012 <releaseinfo>Qt 5.4</releaseinfo>
0013 <productname>KDE Frameworks</productname>
0014 </refentryinfo>
0015 
0016 <refmeta>
0017 <refentrytitle>qt5options</refentrytitle>
0018 <manvolnum>7</manvolnum>
0019 </refmeta>
0020 
0021 <refnamediv>
0022 <refname>qt5options</refname>
0023 <refpurpose>Common commandline options for all applications based on the &Qt; toolkit</refpurpose>
0024 </refnamediv>
0025 
0026 <refsynopsisdiv>
0027 <cmdsynopsis>
0028 <command><replaceable>Qt application</replaceable></command>
0029 <!--https://doc.qt.io/qt-5/qapplication.html#QApplication-->
0030 <arg choice="opt"><option>-style=</option> <replaceable>style</replaceable> / <option>-style</option> <replaceable>style</replaceable></arg>
0031 <arg choice="opt"><option>-stylesheet=</option> <replaceable>stylesheet</replaceable> / <option>-stylesheet</option> <replaceable>stylesheet</replaceable></arg>
0032 <arg choice="opt"><option>-widgetcount</option></arg>
0033 <arg choice="opt"><option>-reverse</option></arg>
0034 <arg choice="opt"><option>-qmljsdebugger=</option> <replaceable>port</replaceable></arg>
0035 <!--https://doc.qt.io/qt-5/qguiapplication.html#QGuiApplication-->
0036 <arg choice="opt"><option>-platform</option> <replaceable>platformName[:options]</replaceable></arg>
0037 <arg choice="opt"><option>-platformpluginpath</option> <replaceable>path</replaceable></arg>
0038 <arg choice="opt"><option>-platformtheme</option> <replaceable>platformTheme</replaceable></arg>
0039 <arg choice="opt"><option>-plugin</option> <replaceable>plugin</replaceable></arg>
0040 <arg choice="opt"><option>-qwindowgeometry</option> <replaceable>geometry</replaceable></arg>
0041 <arg choice="opt"><option>-qwindowicon</option> <replaceable>icon</replaceable></arg>
0042 <arg choice="opt"><option>-qwindowtitle</option> <replaceable>title</replaceable></arg>
0043 <arg choice="opt"><option>-reverse</option></arg>
0044 <arg choice="opt"><option>-session</option> <replaceable>session</replaceable></arg>
0045 <arg choice="opt"><option>-display</option> <replaceable>hostname:screen_number</replaceable></arg>
0046 <arg choice="opt"><option>-geometry</option> <replaceable>geometry</replaceable></arg>
0047 <arg choice="opt"><option>-dialogs=</option> <replaceable>[xp|none]</replaceable></arg>
0048 <arg choice="opt"><option>-fontengine=</option> <replaceable>freetype</replaceable></arg>
0049 <!--https://doc.qt.io/qt-5/qcommandlineparser.html -->
0050 <arg choice="opt"><option>-h, --help and -? on &Windows;</option></arg>
0051 <arg choice="opt"><option>-v --version</option></arg>
0052 </cmdsynopsis>
0053 </refsynopsisdiv>
0054 
0055 
0056 <refsect1>
0057 <title>Options</title>
0058 
0059 <para>The following options apply to all &Qt; applications:</para>
0060 
0061 <variablelist>
0062 <!--https://doc.qt.io/qt-5/qapplication.html#QApplication-->
0063 <varlistentry>
0064 <term>
0065 <option>-style=</option> <replaceable>style</replaceable> / <option>-style</option> <replaceable>style</replaceable>
0066 </term>
0067 <listitem><para>
0068 Set the application &GUI; style. Possible values depend on the system configuration.
0069 If &Qt; is compiled with additional styles or has additional styles as plugins these will be available to the <option>-style</option> command line option.</para>
0070 </listitem>
0071 </varlistentry>
0072 
0073 <varlistentry>
0074 <term>
0075 <option>-stylesheet=</option> <replaceable>stylesheet</replaceable> / <option>-stylesheet</option> <replaceable>stylesheet</replaceable>
0076 </term>
0077 <listitem><para>
0078 Set the application styleSheet. The value must be a path to a file that contains the Style Sheet.
0079 </para></listitem>
0080 </varlistentry>
0081 
0082 <varlistentry>
0083 <term>
0084 <option>-widgetcount</option>
0085 </term>
0086 <listitem><para>
0087 Print debug message at the end about number of widgets left undestroyed and maximum number of widgets existed at the same time.
0088 </para></listitem>
0089 </varlistentry>
0090 
0091 <varlistentry>
0092 <term>
0093 <option>-reverse</option>
0094 </term>
0095 <listitem><para>
0096 Set the application's layout direction to <methodname>Qt::RightToLeft</methodname>.
0097 This option is intended to aid debugging and should not be used in production.
0098 The default value is automatically detected from the user's
0099 locale (see also <methodname>QLocale::textDirection()</methodname>).
0100 </para></listitem>
0101 </varlistentry>
0102 
0103 <varlistentry>
0104 <term>
0105 <option>-qmljsdebugger=</option> <replaceable>port</replaceable>
0106 </term>
0107 <listitem><para>
0108 Activate the QML/JS debugger with a specified port. The value must be of format port:1234[,block],
0109 where block is optional and will make the application wait until a debugger connects to it.
0110 </para></listitem>
0111 </varlistentry>
0112 <!--https://doc.qt.io/qt-5/qguiapplication.html#QGuiApplication-->
0113 <varlistentry>
0114 <term>
0115 <option>-platform</option> <replaceable>platformName[:options]</replaceable>
0116 </term>
0117 <listitem><para>
0118 Specify the &Qt; Platform Abstraction (QPA) plugin.
0119 </para></listitem>
0120 </varlistentry>
0121 
0122 <varlistentry>
0123 <term>
0124 <option>-platformpluginpath</option> <replaceable>path</replaceable>
0125 </term>
0126 <listitem><para>
0127 Specify the path to platform plugins.
0128 </para></listitem>
0129 </varlistentry>
0130 
0131 <varlistentry>
0132 <term>
0133 <option>-platformtheme</option> <replaceable>platformTheme</replaceable>
0134 </term>
0135 <listitem><para>
0136 Specify the platform theme.
0137 </para></listitem>
0138 </varlistentry>
0139 
0140 <varlistentry>
0141 <term>
0142 <option>-plugin</option> <replaceable>plugin</replaceable>
0143 </term>
0144 <listitem><para>
0145 Specify additional plugins to load. The argument may appear multiple times.
0146 </para></listitem>
0147 </varlistentry>
0148 
0149 <varlistentry>
0150 <term>
0151 <option>-qwindowgeometry</option> <replaceable>geometry</replaceable>
0152 </term>
0153 <listitem><para>
0154 Specify the window geometry for the main window using the &X11;-syntax. For example: -qwindowgeometry 100x100+50+50
0155 </para></listitem>
0156 </varlistentry>
0157 
0158 <varlistentry>
0159 <term>
0160 <option>-qwindowicon</option> <replaceable>icon</replaceable>
0161 </term>
0162 <listitem><para>
0163 Set the default window icon.
0164 </para></listitem>
0165 </varlistentry>
0166 
0167 <varlistentry>
0168 <term>
0169 <option>-qwindowtitle</option> <replaceable>title</replaceable>
0170 </term>
0171 <listitem><para>
0172 Set the title of the first window.
0173 </para></listitem>
0174 </varlistentry>
0175 
0176 <varlistentry>
0177 <term>
0178 <option>-session</option> <replaceable>session</replaceable>
0179 </term>
0180 <listitem><para>
0181 Restore the application from an earlier session.
0182 </para></listitem>
0183 </varlistentry>
0184 
0185 <varlistentry>
0186 <term>
0187 <option>-display</option> <replaceable>hostname:screen_number</replaceable>
0188 </term>
0189 <listitem><para>
0190 Switch displays on &X11;. Overrides the <envar>DISPLAY</envar> environment variable.
0191 </para></listitem>
0192 </varlistentry>
0193 
0194 <varlistentry>
0195 <term>
0196 <option>-geometry</option> <replaceable>geometry</replaceable>
0197 </term>
0198 <listitem><para>
0199 Specify the window geometry for the main window on &X11;. For example: -geometry 100x100+50+50
0200 </para></listitem>
0201 </varlistentry>
0202 
0203 <varlistentry>
0204 <term>
0205 <option>-dialogs=</option> <replaceable>[xp|none]</replaceable>
0206 </term>
0207 <listitem><para>
0208 Only available for the &Windows; platform.
0209 XP uses native style dialogs and none disables them.</para></listitem>
0210 </varlistentry>
0211 
0212 <varlistentry>
0213 <term>
0214 <option>-fontengine=</option> <replaceable>freetype</replaceable>
0215 </term>
0216 <listitem><para>
0217 Use the FreeType font engine.
0218 </para></listitem>
0219 </varlistentry>
0220 
0221 <!--https://doc.qt.io/qt-5/qcommandlineparser.html -->
0222 <varlistentry>
0223 <term>
0224 <option>-h, --help and -? on &Windows;</option>
0225 </term>
0226 <listitem><para>
0227 Print all options and the application description.
0228 </para></listitem>
0229 </varlistentry>
0230 
0231 <varlistentry>
0232 <term>
0233 <option>-v --version</option>
0234 </term>
0235 <listitem><para>
0236 Display the version string of the application.
0237 </para></listitem>
0238 </varlistentry>
0239 
0240 </variablelist>
0241 
0242 </refsect1>
0243 
0244 
0245 <refsect1>
0246 <title>See Also</title>
0247 <para><replaceable>kf5options</replaceable>(7)</para>
0248 
0249 </refsect1>
0250 
0251 <refsect1>
0252 <title>Authors</title>
0253 <para>Man page originally written by &Lauri.Watts; &Lauri.Watts.mail;</para>
0254 <para>Updated to &frameworks; 5 by &Burkhard.Lueck; &Burkhard.Lueck.mail;</para>
0255 <para>The infos for this man page are from <ulink url="https://doc.qt.io/qt-5/qapplication.html#QApplication">QApplication documentation</ulink>,
0256 <ulink url="https://doc.qt.io/qt-5/qguiapplication.html#QGuiApplication">QGuiApplication documentation</ulink>
0257 and <ulink url="https://doc.qt.io/qt-5/qcommandlineparser.html">QCommandLineParser documentation</ulink>.</para>
0258 </refsect1>
0259 
0260 </refentry>