Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install QtSvg,QtWebKit,QtWebKitWidgets(all in Qt5 version) on ubuntu 14.04?

Tags:

python

qt

qt5

I want to install eric6-6.0.6.The result of

python3 install.py

is:

Checking dependencies
Python Version: 3.4.0
Found PyQt5
Found QScintilla2
Found QtGui
Found QtNetwork
Found QtPrintSupport
Found QtSql
Sorry, please install QtSvg.
Error: No module named 'PyQt5.QtSvg'
Sorry, please install QtWebKit.
Error: No module named 'PyQt5.QtWebKit'
Sorry, please install QtWebKitWidgets.
Error: No module named 'PyQt5.QtWebKitWidgets'
Found QtWidgets

But how to install the missing? I google a lot but fail to find the correct answer.

Anyone could do me a favor?

Thanks a lot!

like image 596
Zieng Avatar asked Jun 09 '15 14:06

Zieng


1 Answers

You can install these packages all with

sudo apt-get install <package>

I don't have an ubuntu distro set up right now, so I can't verify for you, but I don't think you'll need to install the third package.

Packages:

libqt5webkit5-dev

For python-3.x:

python3-pyqt5.qtsvg

python3-pyqt5.qtwebkit

like image 194
Luke Avatar answered Oct 09 '22 08:10

Luke