Qt中的PDF查看器 [英] PDF Viewer in Qt

查看:401
本文介绍了Qt中的PDF查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Adobe Readers ActiveX在qt内创建pdf查看器,但是它需要安装Adobe Reader,因此有可能在不安装Adobe Reader的情况下创建pdf查看器

I am trying to create a pdf viewer inside qt using Adobe Readers ActiveX, but it requires to install Adobe Reader, so is it possible without installing Adobe reader we can create pdf viewer

推荐答案

QtPdf 模块在Qt Labs中.

QtPdf module in the Qt Labs.

它带有一个基于Widgets的PdfViewer示例,该示例开箱即用.

It comes with a Widgets-based PdfViewer example, which works out of the box.

它可以轻松地集成到任何Qt应用程序中-通过创建包装器,我们可以将它集成到我们的QML应用程序中.

It can be easily incorporated into any Qt app - We are incorporating it into one if our QML applications, by creating a wrapper.

Qt博客公告此处.

这篇关于Qt中的PDF查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆