Use QCoreApplication instead of QApplication to enable Xserver-less operation
Merge pull request #5 from svenstaro/patch-1

Use QCoreApplication instead of QApplication to enable Xserver-less operation