python - Load a PDF in a ActiveX widget -


i trying load pdf qaxwidget:

self.axwidget = qaxcontainer.qaxwidget() self.axwidget.setproperty("geometry", qtcore.qrect(630, 20, 501, 651)) self.axwidget.setcontrol("adobe pdf reader") self.axwidget.dynamiccall("loadfile(const qstring)", "test.pdf") 

however, loads empty gray background: enter image description here

i've been searching alternatives, external libraries, python pdf-to-png libraries , load image, etc. every result found far seems overkill task.

so, since qt supports activex controls, can check working example, or specific documentation dynamiccalls python in order load pdf inside qaxwidget?

i need read-only data, image of work.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -