[PyQt] Locating .ui files at runtime
Stephen Chapman
schapman1974 at gmail.com
Tue May 12 00:45:05 BST 2015
I am storing mine as a resource the feeding in a file like object from the
resource
On May 11, 2015 7:22 PM, "Jared Henley" <jared.henley at gmail.com> wrote:
> Hi,
>
> I'm developing a program using PyQt. I load the .ui files at runtime
> using uic.loadUi() for various reasons, mainly because the python
> source is cleaner.
>
> I'm trying to work out how to find the correct path to the .ui files,
> particularly when the program is installed and they could be in any
> number of places depending the path prefix of where the program gets
> installed to.
>
> If it's any help, I'm developing primarily for Linux and other unixes,
> other platforms are not high on the priority list.
>
> How are people going about this?
>
> Jared
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150511/ed46a2ff/attachment.html>
More information about the PyQt
mailing list