[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Finding Qt modules in different paths
From:       Peter Eszlari <peter.eszlari () gmail ! com>
Date:       2018-01-28 9:59:44
Message-ID: CAB3zQTuaAROJLFGAs5BCBBcOdxQ+ER29PpskBgMm8YimJzA+Ng () mail ! gmail ! com
[Download RAW message or body]

I found the solution:

QMAKEPATH=/app/lib python3 configure.py PREFIX=/app ...

(Another problem was, that QtWebKit's cmake build system also but the
mkspecs directory in the wrong path)

2018-01-16 15:22 GMT+01:00 Peter Eszlari <peter.eszlari@gmail.com>:
> ---------- Forwarded message ----------
> From: Peter Eszlari <peter.eszlari@gmail.com>
> Date: 2018-01-16 15:18 GMT+01:00
> Subject: Re: [PyQt] Finding Qt modules in different paths
> To: Phil Thompson <phil@riverbankcomputing.com>
>
>
> I tried:
>
> python3 configure.py INCLUDEPATH+='/app/include/QtWebKit
> /app/include/QtWebKitWidgets' LIBS+='-L/app/lib -lQt5WebKit
> -lQt5WebKitWidgets' ...
>
> But I still get:
>
> Checking to see if the QtWebKit module should be built...
> /usr/bin/qmake -o cfgtest_QtWebKit.mk cfgtest_QtWebKit.pro
> Project ERROR: Unknown module(s) in QT: webkit
>
> I think I have to tell qmake the paths for:
>
> /app/mkspecs/modules/qt_lib_webkit.pri
> /app/mkspecs/modules/qt_lib_webkitwidgets.pri
>
>
> But which variable is that?
>
> 2018-01-16 12:48 GMT+01:00 Phil Thompson <phil@riverbankcomputing.com>:
>> On 16 Jan 2018, at 6:46 am, Peter Eszlari <peter.eszlari@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
_______________________________________________
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