Giter VIP home page Giter VIP logo

Comments (2)

mottosso avatar mottosso commented on August 19, 2024

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.

from python-qt5.

martinpengellyphillips avatar martinpengellyphillips commented on August 19, 2024

For reference, this is what I had to do to get this working in a Virtualenv:

  1. pip install git+git://github.com/pyqt/python-qt5.git
  2. mv /path/to/virtualenv/qt.conf /path/to/virtualenv/Scripts
  3. Edit /path/to/virtualenv/Scripts/qt.conf to contain following:
[Paths]
Prefix = ../Lib/site-packages/PyQt5
Binaries = ../Lib/site-packages/PyQt5
  1. Copy /path/to/virtualenv/Lib/site-packages/PyQt5QtWebEngineProcess.exe and /path/to/virtualenv/Lib/site-packages/PyQt5QtWebEngineProcessd.exe to /path/to/virtualenv/Scripts directory.
  2. Download PyQt5 5.71 wheel for Python 3 from https://pypi.python.org/pypi/PyQt5/5.7.1 and extract.
  3. Copy 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.

from python-qt5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.