Open jacksonofalltrades opened 8 years ago
Hm, looking at the docs, it looks like it's been there since 5.4.
But it's possible it didn't get included in the build for this project. This is how the project has been built, maybe there's a flag that could've/should've been set in order to build this?
I think it has a different license then the rest of Qt, not sure if it's related.
These are the possible build flags.
For reference, this is what I had to do to get this working in a Virtualenv:
pip install git+git://github.com/pyqt/python-qt5.git
mv /path/to/virtualenv/qt.conf /path/to/virtualenv/Scripts
/path/to/virtualenv/Scripts/qt.conf
to contain following:
[Paths]
Prefix = ../Lib/site-packages/PyQt5
Binaries = ../Lib/site-packages/PyQt5
/path/to/virtualenv/Lib/site-packages/PyQt5QtWebEngineProcess.exe
and /path/to/virtualenv/Lib/site-packages/PyQt5QtWebEngineProcessd.exe
to /path/to/virtualenv/Scripts
directory.resources
and translations
from the extracted wheel (\PyQt5\Qt
) to /path/to/virtualenv/Lib/site-packages/PyQt5
Et voila. I was able to load a web page in QWebEnginePage
Note: Theoretically, adding LibraryExecutables = ../Lib/site-packages/PyQt5
to qt.conf
should negate the need for copying the executables to Scripts
, but it didn't work for me.
Hi, It seems that this may only be available in Qt5.6 or later, but I haven't completely determined that. This module seems to be completely missing when I try to build my Windows app using your python-qt5. Any guidance on this? Thanks!