1#define QT_FEATURE_printer 1
2#define QT_FEATURE_printdialog 1
3#define QT_FEATURE_printpreviewwidget 1
4#define QT_FEATURE_printpreviewdialog 1
5

source code of qtbase/src/printsupport/qtprintsupport-config.h