Skip to content

Instantly share code, notes, and snippets.

@pcolby
Last active February 12, 2024 21:53
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcolby/109550575dbd3dedbd4e1c3568929acd to your computer and use it in GitHub Desktop.
Save pcolby/109550575dbd3dedbd4e1c3568929acd to your computer and use it in GitHub Desktop.

Options built-in, by default, to most Qt-based applications.

QApplication

https://doc.qt.io/qt-5/qapplication.html#QApplication https://github.com/qt/qtbase/blob/dev/src/widgets/kernel/qapplication.cpp#L449

-qdevel (obsolete)
--qmljsdebugger <port>
--reverse (not acrually implemented in QApplication)
--style <style>
--stylesheet <file>
--widgetcount

QGuiApplication

https://doc.qt.io/qt-5/qguiapplication.html#supported-command-line-options

--platform name[:options]
--platformpluginpath
--platformtheme
--plugin
--qmljsdebugger
--qwindowgeometry
--qwindowicon
--qwindowtitle
--reverse
--session
--display
--geometry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment