查看完整版本: [-- QPrinterDialog:  Cannot be used on non-native printers --]

QTCN开发网 -> Qt基础编程 -> QPrinterDialog:  Cannot be used on non-native printers [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

cyberpunker 2017-05-04 09:52

QPrinterDialog:  Cannot be used on non-native printers

win10下 5.7 VS2013 开发, 打印没问题,

部署到win7下,构建QPrinterDialog对象 就报这个问题,对话框出不来!!!

已经把Printer的构造函数的参数挨个试了,把windowsprintersupport.dll 加了,
咋回事?






cyberpunker 2017-05-04 13:44

搞明白了,要把plugin下的printsupport 加上

dragon1024 2018-06-29 11:23
最近遇到了同样的问题,但楼主描述不够详细。

C:\Qt\Qt5.8.0\5.8\msvc2013_64\plugins\printsupport
比如你的应用程序:D:\app.exe
则拷贝后目录为D:\printsupport
或者D:\plugins\printsupport


大漠之鹰 2018-06-29 11:32
用windeployqt部署一下,自动解决依赖


查看完整版本: [-- QPrinterDialog:  Cannot be used on non-native printers --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled