[PyQt] Finding Qt modules in different paths

Phil Thompson phil at riverbankcomputing.com
Tue Jan 16 11:48:36 GMT 2018


On 16 Jan 2018, at 6:46 am, Peter Eszlari <peter.eszlari at gmail.com> wrote:
> 
> Hello!
> 
> I have the following setup (Linux):
> 
> - all basic Qt modules (Core, Gui etc.) are installed under the prefix "/usr"
> - QtWebkit is installed under the prefix "/app"
> - I want to install PyQt under the prefix "/app" too
> 
> How can I tell PyQt to search for Qt modules in both places ("/usr" and
> "/app") when I compile it?

Additional arguments to configure.py are added to generated .pro files so you might be able to do...

    python configure.py INCLUDEPATH+=/app/include

...etc.

Phil


More information about the PyQt mailing list