An open API service indexing awesome lists of open source software.

https://github.com/mnutt/qt-phantom-platform-plugin

Qt qpa plugin for running headless apps, with font support (extracted from phantomjs)
https://github.com/mnutt/qt-phantom-platform-plugin

Last synced: 10 months ago
JSON representation

Qt qpa plugin for running headless apps, with font support (extracted from phantomjs)

Awesome Lists containing this project

README

          

# Phantom Qt headless qpa plugin

This is the headless platform plugin for qt, extracted from https://github.com/ariya/phantomjs. It can be used to run Qt applications without an x server.

This plugin will automatically use fontconfig whereas qt's built-in `headless` plugin will not.

## Building

```
qmake
make
```

Copy plugins/platform/libqphantom.so to your qt platform plugin directory, likely `/usr/plugins/platform/`

## Usage

Set the `QT_QPA_PLATFORM=phantom` environment variable before running your application.

## License

See `LICENSE.BSD`