TEMPLATE = app CONFIG += console QT += gui-private SOURCES = \ offscreen.cpp RESOURCES = offscreen.qrc