1QT5OPTIONS(7)            Qt Command Line Documentation           QT5OPTIONS(7)
2
3
4

NAME

6       qt5options - Common commandline options for all applications based on
7       the Qt toolkit
8

SYNOPSIS

10       Qt application [-style= style / -style style]
11                      [-stylesheet= stylesheet / -stylesheet stylesheet]
12                      [-widgetcount] [-reverse] [-qmljsdebugger= port]
13                      [-platform platformName[:options]]
14                      [-platformpluginpath path]
15                      [-platformtheme platformTheme] [-plugin plugin]
16                      [-qwindowgeometry geometry] [-qwindowicon icon]
17                      [-qwindowtitle title] [-reverse] [-session session]
18                      [-display hostname:screen_number] [-geometry geometry]
19                      [-dialogs= [xp|none]] [-fontengine= freetype]
20                      [-h, --help and -? on Windows] [-v --version]
21

OPTIONS

23       The following options apply to all Qt(TM) applications:
24
25       -style= style / -style style
26           Set the application GUI style. Possible values depend on the system
27           configuration. If Qt is compiled with additional styles or has
28           additional styles as plugins these will be available to the -style
29           command line option.
30
31       -stylesheet= stylesheet / -stylesheet stylesheet
32           Set the application styleSheet. The value must be a path to a file
33           that contains the Style Sheet.
34
35       -widgetcount
36           Print debug message at the end about number of widgets left
37           undestroyed and maximum number of widgets existed at the same time.
38
39       -reverse
40           Set the application's layout direction to Qt::RightToLeft. This
41           option is intended to aid debugging and should not be used in
42           production. The default value is automatically detected from the
43           user's locale (see also QLocale::textDirection()).
44
45       -qmljsdebugger= port
46           Activate the QML/JS debugger with a specified port. The value must
47           be of format port:1234[,block], where block is optional and will
48           make the application wait until a debugger connects to it.
49
50       -platform platformName[:options]
51           Specify the Qt Platform Abstraction (QPA) plugin.
52
53       -platformpluginpath path
54           Specify the path to platform plugins.
55
56       -platformtheme platformTheme
57           Specify the platform theme.
58
59       -plugin plugin
60           Specify additional plugins to load. The argument may appear
61           multiple times.
62
63       -qwindowgeometry geometry
64           Specify the window geometry for the main window using the
65           X11-syntax. For example: -qwindowgeometry 100x100+50+50
66
67       -qwindowicon icon
68           Set the default window icon.
69
70       -qwindowtitle title
71           Set the title of the first window.
72
73       -session session
74           Restore the application from an earlier session.
75
76       -display hostname:screen_number
77           Switch displays on X11. Overrides the DISPLAY environment variable.
78
79       -geometry geometry
80           Specify the window geometry for the main window on X11. For
81           example: -geometry 100x100+50+50.
82
83       -dialogs= [xp|none]
84           Only available for -platform windows. xp uses XP-style native
85           dialogs and none disables them.
86
87       -fontengine= freetype
88           Use the FreeType font engine.
89
90       -h, --help and -? on Windows
91           Print all options and the application description.
92
93       -v --version
94           Display the version string of the application.
95

SEE ALSO

97       kf5options(7)
98

AUTHORS

100       Man page originally written by Lauri Watts <lauri@kde.org>
101
102       Updated to Frameworks 5 by Burkhard Lück <lueck@hube-lueck.de>
103
104       The infos for this man page are from QApplication documentation[1],
105       QGuiApplication documentation[2] and QCommandLineParser
106       documentation[3].
107

AUTHORS

109       Lauri Watts <lauri@kde.org>
110           Author.
111
112       Burkhard Lück <lueck@hube-lueck.de>
113           Author.
114

NOTES

116        1. QApplication documentation
117           https://doc.qt.io/qt-5/qapplication.html#QApplication
118
119        2. QGuiApplication documentation
120           https://doc.qt.io/qt-5/qguiapplication.html#QGuiApplication
121
122        3. QCommandLineParser documentation
123           https://doc.qt.io/qt-5/qcommandlineparser.html
124
125
126
127KDE Frameworks Qt 5.4             2016-06-04                     QT5OPTIONS(7)
Impressum