Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyQt4 QWebKit not available #53

Open
pagdot opened this issue Mar 15, 2017 · 2 comments
Open

PyQt4 QWebKit not available #53

pagdot opened this issue Mar 15, 2017 · 2 comments

Comments

@pagdot
Copy link

pagdot commented Mar 15, 2017

When starting ricodebug with python2.7 I get the error
ImportError: No module named 'QtWebKit'
I tried to install PyQt4 WebKit, but can't find an WebKit package for PyQt4. Webkit is already installed.

EDIT:
With python3 I get the error
ImportError: No module named 'PyQt4.QtWebKit'

@rainerf
Copy link
Owner

rainerf commented Mar 25, 2017

Seems that newer Debian/Ubuntu versions removed QtWebKit support from pyqt4: https://wiki.debian.org/Qt4WebKitRemoval. Updating the sources to use pyqt5 (and, ideally, QtWebEngine) should fix this.

@pagdot
Copy link
Author

pagdot commented Mar 27, 2017

Tried porting it to PyQt5 (still QtWebKit), and managed to update quite a few lines, but stopped at this error:

Traceback (most recent call last):
  File "ricodebug.py", line 79, in <module>
    main()
  File "ricodebug.py", line 66, in main
    window = MainWindow()
  File "/home/paul/ricodebug/ricodebug/src/views/mainwindow.py", line 58, in __init__
    self.do = DistributedObjects(self)
  File "/home/paul/ricodebug/ricodebug/src/helpers/distributedobjects.py", line 71, in __init__
    self.actions = Actions(self)
  File "/home/paul/ricodebug/ricodebug/src/helpers/actions.py", line 75, in __init__
    self.Run.triggered.connect(do.debugController.run)
TypeError: decorated slot has no signature compatible with triggered(bool)

I forked the repo and worked in a branch: https://github.com/paul70078/ricodebug/tree/qt5_port

I don't have knowledge about PyQt to fix this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants