解决办法: (1)、在pro文件中加入QTPLUGIN+=windowprintersupport (2)、运行exe程序的时候,把QT安装目录下的printsupport子目录复制到exe所在的路径下即可,如下如所示: