[PySide] where to download the complete QtPDF example ?

Zhao Lee redstone-cold at 163.com
Fri Oct 14 10:04:24 CEST 2022


Thank you !
The PDF examples were not shipped with PySide6.4, and the example(https://doc.qt.io/qtforpython/examples/example_pdfwidgets__pdfviewer.html) isn't included in https://code.qt.io/cgit/pyside/pyside-setup.git/tree/examples/pdf

















At 2022-10-14 15:31:31, "Cristián Maureira-Fredes via PySide" <pyside at qt-project.org> wrote:
>Hello Zhao Lee,
>
>If you read the second paragraph in
>https://doc.qt.io/qtforpython/examples/index.html
>it says:
>
> > You can find all these examples inside the pyside-setup on the
> > examples directory, or you can access them after installing PySide6
> > from pip inside the site-packages/PySide6/examples directory.
>
>Meaning, that if you have your virtual environment in
>
>/home/user/env
>
>you can go inside
>
>/home/user/env/lib/python3.10/site-packages/PySide6/examples/
>
>and find all the examples from the project.
>
>Another option is cloning the pyside-setup repository,
>and jump into the pyside-setup/examples/ directory,
>and a third option is to navigate the code.qt.io
>and download the files one-by-one
>
>https://code.qt.io/cgit/pyside/pyside-setup.git/tree/examples/pdf/quickpdfviewer
>
>
>I hope it helps,
>Cheers
>
>
>On 10/14/22 07:32, Zhao Lee wrote:
>> I found there is a QtPDF example at
>> https://doc.qt.io/qtforpython/examples/example_pdfwidgets__pdfviewer.html?highlight=qtpdf <https://doc.qt.io/qtforpython/examples/example_pdfwidgets__pdfviewer.html?highlight=qtpdf>
>> I want to download and give it a try, but the images in resources.qrc 
>> are missing , where can I get the complete example ?
>> 
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> https://lists.qt-project.org/listinfo/pyside
>
>-- 
>Dr. Cristián Maureira-Fredes
>Senior R&D Manager
>
>The Qt Company GmbH
>Erich-Thilo-Str. 10
>D-12489 Berlin
>
>Geschäftsführer: Mika Pälsi,
>Juha Varelius, Jouni Lintunen
>Sitz der Gesellschaft: Berlin,
>Registergericht: Amtsgericht
>Charlottenburg, HRB 144331 B
>_______________________________________________
>PySide mailing list
>PySide at qt-project.org
>https://lists.qt-project.org/listinfo/pyside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20221014/5d0bc8ef/attachment-0001.htm>


More information about the PySide mailing list