Viewer: Command Line Usage | Qt 3D Studio 2.8.0

- Qt 3D Studio
- Viewer Index
- Viewer: Command Line Usage
- Qt 3D Studio 2.8 Manual

# Viewer: Command Line Usage

The Qt 3D Studio Viewer supports launching a specific presentation or waiting for incoming connections with a presentation sent remotely.

## Usage

     Qt3DViewer [options] [presentation file]

When no filename is given, the viewer is launched in remote connection mode.

The following command line options are supported:

Option | Description
--- | ---
-?, -h, --help | Displays help for command line usage.
-f, --fullscreen | Starts the viewer in fullscreen mode.
-w, --no-main-window | Disables the widget-based user interface, such as the menu bar. This mode simulates the operating mode typical on embedded devices: using a Qt platform plugin like `eglfs`, there will only be a single, fullscreen QWindow (or, with Qt Quick applications, QQuickWindow or QQuickView) present. This argument achieves the same even when running on a desktop operating system. Combined with `-f` (going fullscreen) this allows seeing the presentation in real full screen (no menu bar).
-p, --no-profile | Loads the presentation with some profiling options disabled. This provides minimal performance improvements.
--port <port_number> | Sets the port on which the viewer listens for remote connections. The remote connection mode is active either when launching with no presentation file specified, or when choosing File > Remote Setup.