qi application arguments

On this page

When you use qi::Application or qi::ApplicationsSession in your application, it automatically interprets some arguments and environment variables.

Application

--qi-log-context and QI_LOG_CONTEXT

Set the context to print with logs, see Context for values.

--qi-log-level and QI_LOG_LEVEL

Set the level of logging, see Level for values.

--qi-log-color

Enable or disable log coloring. Possible values are: auto, always, never.

--qi-log-filters and QI_LOG_FILTERS

Enable log filtering, see Category filtering for syntax.

--qi-sdk-prefix and QI_SDK_PREFIX

Prefix where to search for modules and libraries, see Handling Paths Guide for more details.

ApplicationSession

--qi-url

Url to connect to, for example: tcp://localhost:9559 .

--qi-listen-url

Url to listen for, for example: tcp://localhost:9559 .

--qi-standalone

Start a standalone session. This will start a listening session with a ServiceDirectory.