Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


hi Wang,

On 09/04/18 14:50, Yijie Wang wrote:
hi everyone,
  I've used libreoffice in ubuntu for some time, it's great and due to some reason I want to write a  python extension which will use PyQt to draw its GUI but I can't fingure out one way to do that, I've followed the instruction to build a small python extension and successfully loaded PyQt in libreoffice's python interpreter but it shows nothing when I tried to draw a dialogue with PyQt in that extension. Could you please tell me how can I do that?

using PyQt or any other Python UI toolkit for LO extensions has the problem that PyQt will only be available if you deploy on a Linux distribution, using the distribution's LibreOffice packages; if you deploy on Windows or Mac OS X, the Python that is bundled with LibreOffice does not contain PyQt or any other UI toolkit.

regards,
 michael

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.