--- src/phantomjs.pro.orig	2016-01-24 11:24:05.000000000 -0700
+++ src/phantomjs.pro	2019-09-17 12:08:32.000000000 -0700
@@ -5,7 +5,7 @@
 
 TEMPLATE = app
 TARGET = phantomjs
-QT += network webkitwidgets
+QT += network webkitwidgets printsupport
 CONFIG += console
 
 DESTDIR = ../bin
