<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 16 Jan 2018, at 06:46, Peter Eszlari <<a href="mailto:peter.eszlari@gmail.com" class="">peter.eszlari@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello!<br class=""><br class="">I have the following setup (Linux):<br class=""><br class="">- all basic Qt modules (Core, Gui etc.) are installed under the prefix "/usr"<br class="">- QtWebkit is installed under the prefix "/app"<br class="">- I want to install PyQt under the prefix "/app" too<br class=""><br class="">How can I tell PyQt to search for Qt modules in both places ("/usr" and<br class="">"/app") when I compile it?<br class=""></div></div></blockquote><div><br class=""></div><div>I think this is what you are after:</div><div><br class=""></div><div><a href="http://doc.qt.io/qt-5/qcoreapplication.html#addLibraryPath" class="">http://doc.qt.io/qt-5/qcoreapplication.html#addLibraryPath</a></div><div><br class=""></div><div>I recall that you have to change the libraryPath before calling __init__</div><div>for QApplication.</div><div><br class=""></div>Barry</div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Thanks in advanced!<br class="">_______________________________________________<br class="">PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" class="">PyQt@riverbankcomputing.com</a><br class=""><a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" class="">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></div></div></blockquote></div><br class=""></body></html>