Qt qpa plugin for running headless apps, with font support (extracted from phantomjs)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.qmake.conf
LICENSE.BSD
README.md
main.cpp
phantom.json
phantom.pri
phantom.pro
phantombackingstore.cpp
phantombackingstore.h
phantomintegration.cpp
phantomintegration.h

README.md

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