[PyQt] configure.py fails for PyQT 5.9.2 and QT 5.10.0

Williams Jr., Ernest L. ernesto at slac.stanford.edu
Tue Dec 19 06:12:34 GMT 2017



Ernest Williams
Dept. Head, Advanced Control Systems
Advanced Instrumentation Research, Technology Innovation Directorate
SLAC National Laboratory, Stanford University


________________________________
From: Florian Bruhin <me at the-compiler.org>
Sent: Monday, December 18, 2017 7:15 AM
To: Williams Jr., Ernest L.
Cc: PyQT mailing list
Subject: Re: [PyQt] configure.py fails for PyQT 5.9.2 and QT 5.10.0

Hi,

On Mon, Dec 18, 2017 at 05:01:43AM +0000, Williams Jr., Ernest L. wrote:
> [ernesto at neutrino rhel7-x86_64]$ python3 ../../src/PyQt5_gpl-5.9.2/configure.py --verbose
> Querying qmake about your Qt installation...
> Determining the details of your Qt installation...
> /usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/bin/qmake -o cfgtest_QtCore.mk cfgtest_QtCore.pro
> WARNING: Failure to find: config-tests/cfgtest_QtCore.cpp

This sounds like it's failing because you're trying to run it from outside the
PyQt directory. I'm not sure that's supported. Can you try running it while
inside that directory instead?

==========
Awesome.
I had just finished a successful out-of-source-tree build for "sip"

So, I proceeded in the same way with PyQT5;  oops.

When I execute "configure.py" from the source directory all is well.

Thanks again:

[ernesto at neutrino PyQt5_gpl-5.9.2]$ python3 ./configure.py --verbose
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
/usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/bin/qmake -o cfgtest_QtCore.mk cfgtest_QtCore.pro
Info: creating stash file /usr/local/controls/package/PyQt5/5.9.2/src/PyQt5_gpl-5.9.2/.qmake.stash
make -f cfgtest_QtCore.mk
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../../../python/3.6.3/rhel7-x86_64/include/python3.6m -I../../../../Qt/5.10.0/rhel7-x86_64/include -I../../../../Qt/5.10.0/rhel7-x86_64/include/QtCore -I. -I../../../../Qt/5.10.0/rhel7-x86_64/mkspecs/linux-g++ -o cfgtest_QtCore.o config-tests/cfgtest_QtCore.cpp
g++ -Wl,-O1 -Wl,-rpath,/usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/lib -o cfgtest_QtCore cfgtest_QtCore.o   -L/usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/lib -lQt5Core -lpthread
./cfgtest_QtCore cfgtest_QtCore.out
This is the GPL version of PyQt 5.9.2 (licensed under the GNU General Public
License) for Python 3.6.3 on linux.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? yes
Found the license file pyqt-gpl.sip.





Florian

--
https://www.qutebrowser.org  | me at the-compiler.org (Mail/XMPP)
qutebrowser | qutebrowser<https://www.qutebrowser.org/>
www.qutebrowser.org
qutebrowser is a keyboard-focused browser with a minimal GUI. It’s based on Python and PyQt5 and free software, licensed under the GPL.


   GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc
www.the-compiler.org<https://the-compiler.org/pubkey.asc>
the-compiler.org
-----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2 mQINBE9SFw4BEAC1d7CykSvvMl2M5mf5QANkrmxwhWdeODsKnZa+nwn9PXqa21DK XDK568VmM/Ww2QhqaUq ...


         I love long mails!  | https://email.is-not-s.ms/
email.is-not-s.ms — Writing e-mail messages with style<https://email.is-not-s.ms/>
email.is-not-s.ms
email.is-not-s.ms is a personal policy that all e-mail messages regardless of reader or subject will be as long and detailed as necessary and not castrated by ...


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20171219/e3decb9f/attachment.html>


More information about the PyQt mailing list