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)
- Host: GitHub
- URL: https://github.com/mnutt/qt-phantom-platform-plugin
- Owner: mnutt
- License: bsd-3-clause
- Created: 2016-12-29T19:19:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-03-06T17:06:47.000Z (over 5 years ago)
- Last Synced: 2025-06-17T05:06:17.440Z (12 months ago)
- Language: C++
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.BSD
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`