[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] How does QCoreApplication.applicationDirPath() determine path to python binary?
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2017-03-27 11:34:07
Message-ID: 00BAFD10-E146-42F9-A45C-50A1F20639BC () riverbankcomputing ! com
[Download RAW message or body]
On 24 Mar 2017, at 2:44 pm, Nick Todd <ntodd@eyeseetec.de> wrote:
>
> I'm trying to bundle PyQt5 into a Python environment that can be run independent of \
> any system installation. I want to use qt.conf to point PyQt to the location of the \
> required Qt dependencies, but it's being ignored. The docs say that Qt expects to \
> find qt.conf in QCoreApplication.applicationDirPath(). When I print this value I \
> see it points to the location of the original Python installation where PyQt was \
> installed to.
> How is the value of QCoreApplication.applicationDirPath() determined, and how can I \
> make it point to the new location of my Python binary?
Did you build PyQt from source?
Make sure you create a QCoreApplication instance before verifying the qt.conf \
supplied values.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic