| CMakeLists.txt |
|
1022 |
- |
| main.cpp |
|
911 |
- |
| offscreen.json |
|
32 |
- |
| qoffscreencommon.cpp |
|
7738 |
- |
| qoffscreencommon.h |
|
3737 |
- |
| qoffscreenintegration.cpp |
The offscren platform plugin is configurable with a JSON configuration.
The confiuration can be provided either from a file on disk on startup,
or at by calling setConfiguration().
To provide a configuration on startuip, write the config to disk and pass
the file path as a platform argument:
./myapp -platform offscreen:configfile=/path/to/config.json
The supported top-level config keys are:
{
"synchronousWindowSystemEvents": <bool>
"windowFrameMargins": <bool>,
"screens": [<screens>],
}
"screens" is an array of:
{
"name": string,
"x": int,
"y": int,
"width": int,
"height": int,
"logicalDpi": int,
"logicalBaseDpi": int,
"dpr": double,
}
|
16467 |
- |
| qoffscreenintegration.h |
|
2265 |
- |
| qoffscreenintegration_x11.cpp |
|
9004 |
- |
| qoffscreenintegration_x11.h |
|
3064 |
- |
| qoffscreenwindow.cpp |
|
5748 |
- |
| qoffscreenwindow.h |
|
1289 |
- |