how to create and open pdf in qt using stm32mp157d-dk1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-06 2:31 AM
I have created a button in qt when I click on the button it has to create a pdf and also display the pdf.
i am developing an application where i have to store the user data in pdf called report and later view it
please give me the steps on how to perform this and any examples related to it
- Labels:
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-10 6:43 AM
Hello @Sharan ,
STMicroelectronics brings the necessary support to develop and use your Qt application to make it run on the target, but this question sounds more like a Qt specific topic.
I think the Qt official documentation or Qt forum could help you more than we can.
Kind regards,
Erwan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-23 11:58 PM - edited ‎2025-03-24 12:12 AM
how to open a pdf file from my terminal in stm32mp157d-dk1
root@stm32mp15-disco:~# xdg open mydoc.pdf
-sh: xdg: not found
root@stm32mp15-disco:~# okular mydoc.pdf
-sh: okular: not found
root@stm32mp15-disco:~# evince mydoc.pdf
-sh: evince: not found
root@stm32mp15-disco:~# mupdf mydoc.pdf
-sh: mupdf: not found
root@stm32mp15-disco:~#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-31 5:41 AM
Seems there is an example how to read/show pdf in Qt:
https://doc.qt.io/qt-6/qtpdf-pdfviewer-example.html
For creating PDFs, there are tons of libraries, some of them open-source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-14 11:38 PM
I am using QT 5.15.13 for my stm32mp157d-dk1 and the image does not have any pdf opener and i have upgraded my qt to 6.7.3 can i use this version for developing application because when i use ssh and connect to the stm32mp and when i type qmake it shows
using qt version 5.15.13 in /usr/lib
