[PyQt] ANN: pyqtdeploy v2.0 Released
Patrick Stinson
patrickkidd at gmail.com
Mon Jan 8 09:14:28 GMT 2018
Phil,
It looks like pyqtdeploy is linking to qmake in qt_dir to the host/bin folder in sysroot. but that does not preserve the PREFIX hardcoded in the qmake exe (see below). This causes the qmake error “Cannot find configuration file .” when qmake is executed from the link, causing the python component to fail building.
This version of Qt was configured with -prefix to the current source folder (/Users/patrick/dev/vendor/dev/build/qt).
turin:vendor patrick$ ls -la sysroot-macos-64/host/bin/qmake
lrwxr-xr-x 1 patrick staff 49 Jan 8 01:03 sysroot-macos-64/host/bin/qmake -> /Users/patrick/dev/vendor/dev/build/qt5/bin/qmake
turin:vendor patrick$ sysroot-macos-64/host/bin/qmake --version
QMake version 3.1
Using Qt version 5.11.0 in
turin:vendor patrick$ /Users/patrick/dev/vendor/dev/build/qt5/bin/qmake --version
QMake version 3.1
Using Qt version 5.11.0 in /Users/patrick/dev/vendor/dev/build/qt5/lib
turin:vendor patrick$
> On Jan 7, 2018, at 8:35 AM, Patrick Stinson <patrickkidd at gmail.com> wrote:
>
> Ah Ok, that is encouraging as my method was (obviously) kind of a pain to maintain. I will rebuild my sysroots with v2 and report back.
>
> -Patrick
>
>> On Jan 7, 2018, at 3:30 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
>>
>>> On 6 Jan 2018, at 6:55 pm, Patrick Stinson <patrickkidd at gmail.com> wrote:
>>>
>>> OK that’s interesting. Then for example, what is the suggested way to linke the standard python C module “_socket” in the exe, and have it’s module init method PyInit__socket” called on startup? Selecting “socket” in the pyqtdeploy gui didn’t do all of that for me.
>>
>> The demo (indirectly) uses _socket and that works fine.
>>
>> Do you have an example?
>>
>> Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180108/1d5534fb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1403 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180108/1d5534fb/attachment-0001.bin>
More information about the PyQt
mailing list