Python Forum
[PyQt] [solved] How to display a pdf-file in a PyQt6 widget
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] [solved] How to display a pdf-file in a PyQt6 widget
#3
(Mar-25-2022, 03:26 AM)Larz60+ Wrote: see: https://www.kdab.com/browse-pdfs-in-a-qt...plication/

I highly appreciate your reply. The "kdab"-Link is already known to me ... and I failed to use it in the past:

Reason:
- I (believe to) know how to install additional packages in Python. In the past I used pip, and recently I started to use Pycharm, and I am using now Pycham's functionality to install packages).
- It seems the "kdab"-Example is in C .... so it doesn't mention a Python package at all. I searched in Pycharm and in the Internet, but it seems there is no Python Package for that.

==> So, I guess I would have to download a QtPDF-source-code from github, compile it as mentioned in the link ... but I am sure, the next problem would be, how to import what I have compiled into my Python program. Will I be able to use "import <package_name> .... ?

I know, that is quite a beginner issue ... but somewhere I have to start ...
Reply


Messages In This Thread
RE: How to display a pdf-file in a PyQt6 widget - by BigMan - Mar-25-2022, 04:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] Saving file to html or pdf stopped working in PyQt6 ejKDE 4 851 Mar-12-2024, 07:45 PM
Last Post: ejKDE
  event driven coding PyQt6 on Combobox change merrittr 3 2,256 May-03-2023, 03:35 AM
Last Post: merrittr
Question [PyQt] Application desktop toolbar with PyQt6 bunz 4 1,656 Mar-09-2023, 08:09 PM
Last Post: bunz
  PyQt6 QAction with icon and string malonn 2 1,831 Sep-12-2022, 11:59 AM
Last Post: malonn
  [PyQt] [Solved]Display PyQtTable results from A->Z & Z->A Extra 2 1,236 Jul-18-2022, 04:04 PM
Last Post: Extra
  [PyQt] [Solved]Display Search Results in QTable Extra 5 2,603 Jun-29-2022, 10:20 PM
Last Post: Extra
  [PyQt] Embed Google Maps in PyQt6 Widget Raures 2 3,265 Sep-11-2021, 04:32 PM
Last Post: Raures
  [PyQt] Collect entry from textline Widget via UI file mart79 3 3,011 Aug-05-2019, 01:40 PM
Last Post: Denni
  Display and update the label text which display the serial value jenkins43 5 9,233 Feb-04-2019, 04:36 AM
Last Post: Larz60+
  Display more than one button in GUI to display MPU6000 Sensor readings barry76 4 4,024 Jan-05-2019, 01:48 PM
Last Post: wuf

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020