[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] PyQt5 Build Error: Could not find qmake configuration file
From: Wallboy <wallboy () wallboy ! ca>
Date: 2017-06-10 6:37:04
Message-ID: 593B9390.8010105 () wallboy ! ca
[Download RAW message or body]
I've mentioned having this problem in my other post and I remember
seeing someone else having this same problem. Qt recently unified their
win32-msvc20XX folders into a single win32-msvc spec folder. When you
build Qt using -platform win32-msvc2015 or 20XX of any version it just
remaps it to win32-msvc. A message even echos out saying so: "Notice:
re-mapping requested qmake spec to unified 'win32-msvc'".
After building Qt, and running qmake -query it even shows:
QMAKE_SPEC:win32-msvc.
In PyQt5 configure.py file it checks for win32, then if your python
version is 3.5 or greater, automatically makes self.qmake_spec =
'win32-msvc2015'. When the time comes to determine the details of your
Qt installation, the cmd: "qmake.exe -spec win32-msvc2015 -o qtdetail.mk
qtdetail.pro" will fail with: "could not find qmake configuration file
win32-msvc20XX" since that spec no longer exists as mentioned above when
they unified everything to the single win32-msvc spec.
So the workaround if you have to just manually pass --spec win32-msvc to
PyQt5 configure.py
_______________________________________________
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