---
name: "qtoptions"
section: "7"
platform: "linux"
package: "kdelibs5-data"
version: "4:4.14.38-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/qtoptions"
---

# qtoptions(7)

Common commandline options for all applications based on the Qt toolkit

## NAME

qtoptions - Common commandline options for all applications based on the Qt toolkit

## SYNOPSIS

*Qt application* \[Qt Generic Options\]

## OPTIONS

The following options apply to all Qt(TM) applications:

- **--display** *displayname*

  Use the X-server display *displayname*.

- **--session** *sessionId*

  Restore the application for the given *sessionId*.

- **--cmap**

  Causes the application to install a private color map on an 8-bit display.

- **--ncols** *count*

  Limits the number of colors allocated in the color cube on an 8-bit display, if the application is using the QApplication::ManyColor color specification.

- **--nograb**

  Tells Qt(TM) to never grab the mouse or the keyboard.

- **--dograb**

  Running under a debugger can cause an implicit **--nograb**, use **--dograb** to override.

- **--sync**

  Switches to synchronous mode for debugging.

- **--fn**,**--font** *fontname*

  Defines the application font.

- **--bg**,**--background** *color*

  Sets the default background color and an application palette (light and dark shades are calculated).

- **--fg**,**--foreground** *color*

  Sets the default foreground color

- **--btn**,**--button** *color*

  Sets the default button color.

- **--name** *name*

  Sets the application name.

- **--title** *title*

  Sets the application title (caption).

- **--visual** *TrueColor*

  Forces the application to use a *TrueColor* visual on an 8-bit display.

- **--inputstyle** *inputstyle*

  Sets XIM (X Input Method) input style. Possible values are *onthespot*, *overthespot*, *offthespot* and *root*.

**--im** *XIM server*

Set XIM server.

- **--noxim**

  Disable XIM

- **--reverse**

  mirrors the whole layout of widgets

- **--stylesheet** *file.qss*

  applies the Qt stylesheet to the application widgets

## SEE ALSO

[*kdeoptions*(7)](/kdeoptions/7.md)

## AUTHORS

Man page written by Lauri Watts \<lauri@kde.org\>

## AUTHOR

**Lauri Watts** \<lauri@kde.org\>

Author.
