QT6OPTIONS(7)
๐ QT6OPTIONS(7) ๐
okay so bestie, welcome to qt6options โ the manual page for all the common command line options that literally every single app built on the Qt(TM) toolkit shares. this one lives in the Qt Command Line Documentation section of the manual, and it's your cheat sheet for the flags that work everywhere. no cap. ๐ฆ
๐ธ NAME ๐ธ
qt6options โ Common commandline options for all applications based on the Qt(TM) toolkit
โจ SYNOPSIS โจ
Qt application [-style= style / -style style]
[-stylesheet= stylesheet / -stylesheet stylesheet]
[-widgetcount] [-reverse] [-qmljsdebugger= port]
[-platform platformName[:options]]
[-platformpluginpath path] [-platformtheme platformTheme]
[-plugin plugin] [-qwindowgeometry geometry]
[-qwindowicon icon] [-qwindowtitle title] [-reverse]
[-session session] [-display hostname:screen_number]
[-geometry geometry] [-dialogs= [xp|none]]
[-fontengine= freetype] [-h, --help and -? on Windowsยฎ]
[-v --version]
๐ OPTIONS ๐
so these are the ones that apply to all Qt(TM) applications โ universal queen behaviour ๐
-style=style /-stylestyle โ sets the application's GUI style. what values you can actually use depends on your system configuration, bestie. and if Qt(TM) was compiled with extra styles, or has extra styles chilling as plugins, those show up as options for-styletoo. โจ-stylesheet=stylesheet /-stylesheetstylesheet โ sets the application styleSheet. the value has to be a path to a file that contains the Style Sheet. that's the vibe, no shortcuts. ๐-widgetcountโ prints a debug message at the end telling you how many widgets were left undestroyed, plus the maximum number of widgets that existed at the same time. lowkey a peek behind the curtain ๐ซฃ-reverseโ sets the application's layout direction toQt::RightToLeft. > โ ๏ธ heads up bestie: 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 alsoQLocale::textDirection()).-qmljsdebugger=port โ activates the QML/JS debugger on a specified port. the value must be of formatport:1234[,block], whereblockis optional and will make the application wait until a debugger connects to it. patient queen ๐-platformplatformName[:options] โ specifies the Qt(TM) Platform Abstraction (QPA) plugin.-platformpluginpathpath โ specifies the path to platform plugins.-platformthemeplatformTheme โ specifies the platform theme.-pluginplugin โ specifies additional plugins to load. the argument may appear multiple times, so go off ๐-qwindowgeometrygeometry โ specifies the window geometry for the main window using the X11-syntax. for example:-qwindowgeometry 100x100+50+50-qwindowiconicon โ sets the default window icon.-qwindowtitletitle โ sets the title of the first window.-sessionsession โ restores the application from an earlier session. time travel era โญ-displayhostname:screen_number โ switches displays on X11. this overrides theDISPLAYenvironment variable.-geometrygeometry โ specifies the window geometry for the main window on X11. for example:-geometry 100x100+50+50-dialogs=[xp|none] โ only available for the Windowsยฎ platform.xpuses native style dialogs, andnonedisables them.-fontengine=freetype โ uses the FreeType font engine.-h,--helpand-?on Windowsยฎ โ prints all options and the application description. the "help me pls" flag ๐-v--versionโ displays the version string of the application.
๐ง SEE ALSO ๐ง
๐ AUTHORS ๐
the man page was originally written by Lauri Watts <lauri@kde.org> ๐
updated to Frameworks 5 by Burkhard Lรผck <lueck@hube-lueck.de> ๐
and the infos for this man page are from QApplication documentation[1], QGuiApplication documentation[2] and QCommandLineParser documentation[3]. iykyk ๐
๐ AUTHORS ๐
- Lauri Watts
<lauri@kde.org>- Author.
- Burkhard Lรผck
<lueck@hube-lueck.de>- Author.
๐ NOTES ๐
- QApplication documentation
https://doc.qt.io/qt-6/qapplication.html#QApplication - QGuiApplication documentation
https://doc.qt.io/qt-6/qguiapplication.html#QGuiApplication - QCommandLineParser documentation
https://doc.qt.io/qt-6/qcommandlineparser.html
and that's the whole page, bestie!! ๐ this one's brought to you by KDE Frameworks Qt 6, dated 2016-06-04, and it's page QT6OPTIONS(7) of the manual โ slay, periodt. ๐โจ๐ฆ
๐ฆ where this page comes from
- arch rolling: kdoctools 6.31.0-1 ยท LGPL-2.0-only AND LGPL-3.0-only
- debian trixie: kdoctools6 6.13.0-1 ยท GPL-2.0-or-later
- epel 10: kf6-kdoctools 6.30.0-1.el10_3 ยท BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 43: kf6-kdoctools 6.18.0-1.fc43 ยท BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 43: kf6-kdoctools 6.18.0-1.fc43 ยท BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 43: kf6-kdoctools 6.30.0-1.fc43 ยท BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 43: kf6-kdoctools 6.30.0-1.fc43 ยท BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 44: kf6-kdoctools 6.25.0-1.fc44 ยท BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 44: kf6-kdoctools 6.25.0-1.fc44 ยท BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 44: kf6-kdoctools 6.31.0-1.fc44 ยท BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 44: kf6-kdoctools 6.31.0-1.fc44 ยท BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only)
- nixos 26.05: kdoctools 6.26.0
- nixpkgs unstable: kdoctools 6.31.0
- opensuse-leap 16.0: kf6-kdoctools 6.16.0-bp160.1.2 ยท LGPL-2.1-or-later AND MIT
- opensuse-leap 16.0: kf6-kdoctools 6.16.0-bp160.1.2 ยท LGPL-2.1-or-later AND MIT
- opensuse-leap 16.0: kf6-kdoctools 6.16.0-bp160.1.2 ยท LGPL-2.1-or-later AND MIT
- opensuse-leap 16.0: kf6-kdoctools 6.16.0-bp160.1.2 ยท LGPL-2.1-or-later AND MIT
- ubuntu questing: kdoctools6 6.17.0-0ubuntu1
- ubuntu resolute: kdoctools6 6.24.0-0ubuntu1 ยท GPL-2.0-or-later
- ubuntu stonking: kdoctools6 6.29.0-0ubuntu1 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms