Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is there any way to use Qt to display PDFs or MS Office documents?
SammyCat last edited by aha_1980
I would like to build a cross-platform app with Qt that enables the user to view various document formats especially PDF, Word & Excel.
Is there any way that this can be achieved with Qt either using native features or 3rd-party libraries (especially if for example MS Office apps are not installed on the actual device)?
@SammyCat You can't do that directly with Qt.
For PDF see https://wiki.qt.io/Handling_PDF there are some libraries mentioned.
Don't know about any libs for Microsoft Office files (maybe LibreOffice project provides some).
Not for MSOffice but PDF can be shown with poppler (
/edit: it's under GPL, not LGPL
Pablo J. Rogina last edited by
PDF can be shown with poppler (LGPL)
yes, specially the Qt5 port