qt5options - Common commandline options for all applications based on the Qt(TM) toolkit
Contents
Name
qt5options - Common commandline options for all applications based on the Qt(TM) toolkit
Notes
1. QApplication documentation
https://doc.qt.io/qt-5/qapplication.html#QApplication
2. QGuiApplication documentation
https://doc.qt.io/qt-5/qguiapplication.html#QGuiApplication
3. QCommandLineParser documentation
https://doc.qt.io/qt-5/qcommandlineparser.html
KDE Frameworks Qt 5.4 2016-06-04 QT5OPTIONS(7)
Options
The following options apply to all Qt(TM) applications:
-style=style / -stylestyle
Set the application GUI style. Possible values depend on the system configuration. If Qt(TM) is
compiled with additional styles or has additional styles as plugins these will be available to the
-style command line option.
-stylesheet=stylesheet / -stylesheetstylesheet
Set the application styleSheet. The value must be a path to a file that contains the Style Sheet.
-widgetcount
Print debug message at the end about number of widgets left undestroyed and maximum number of widgets
existed at the same time.
-reverse
Set the application's layout direction to Qt::RightToLeft. This option is intended to aid debugging
and should not be used in production. The default value is automatically detected from the user's
locale (see also QLocale::textDirection()).
-qmljsdebugger=port
Activate the QML/JS debugger with a specified port. The value must be of format port:1234[,block],
where block is optional and will make the application wait until a debugger connects to it.
-platformplatformName[:options]
Specify the Qt(TM) Platform Abstraction (QPA) plugin.
-platformpluginpathpath
Specify the path to platform plugins.
-platformthemeplatformTheme
Specify the platform theme.
-pluginplugin
Specify additional plugins to load. The argument may appear multiple times.
-qwindowgeometrygeometry
Specify the window geometry for the main window using the X11-syntax. For example: -qwindowgeometry
100x100+50+50
-qwindowiconicon
Set the default window icon.
-qwindowtitletitle
Set the title of the first window.
-sessionsession
Restore the application from an earlier session.
-displayhostname:screen_number
Switch displays on X11. Overrides the DISPLAY environment variable.
-geometrygeometry
Specify the window geometry for the main window on X11. For example: -geometry 100x100+50+50
-dialogs=[xp|none]
Only available for the Windows® platform. XP uses native style dialogs and none disables them.
-fontengine=freetype
Use the FreeType font engine.
-h,--helpand-?onWindows®
Print all options and the application description.
-v--version
Display the version string of the application.
See Also
kf5options(7)
Synopsis
Qtapplication [-style=style / -stylestyle] [-stylesheet=stylesheet / -stylesheetstylesheet]
[-widgetcount] [-reverse] [-qmljsdebugger=port] [-platformplatformName[:options]]
[-platformpluginpathpath] [-platformthemeplatformTheme] [-pluginplugin]
[-qwindowgeometrygeometry] [-qwindowiconicon] [-qwindowtitletitle] [-reverse]
[-sessionsession] [-displayhostname:screen_number] [-geometrygeometry]
[-dialogs=[xp|none]] [-fontengine=freetype] [-h,--helpand-?onWindows®]
[-v--version]
