[PyQt] Building PyQt5 fails with error: QUrl::UserInputResolutionOption’ is not a class or namespace

Dmitry Shachnev mitya57 at ubuntu.com
Mon Oct 2 19:11:24 BST 2017



On October 2, 2017 10:40:16 PM GMT+07:00, abinashk-inf <abinashkr94 at gmail.com> wrote: 
> I tried installing pyqt5 using system command: 'sudo apt-get install
> python3-pyqt5', however this does not contain a module called QtQml which I
> required, Hence I need to compile from source.

You need: sudo apt-get install python3-pyqt5.qtquick

That package contains the QtQuick and QtQml modules.

--
Dmitry Shachnev


More information about the PyQt mailing list