Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 567394

Summary: dev-python/PyQt5-5.5.1: PyQt5.Qml needs PyQt5.QtNetwork
Product: Gentoo Linux Reporter: niks1024
Component: [OLD] LibraryAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description niks1024 2015-12-02 22:50:47 UTC
Trying to import PyQt5.QtQml yields ImportError: No module named 'PyQt5.QtNetwork' Which I presume means that when QtQml module is built (I didn't check but I'd expect via the declarative USE flag) network USE flag must also be enabled.

Reproducible: Always

Steps to Reproduce:
1. Build dev-python/PyQt5[declarative, -network] # A guess
2. Fire up ipython or whatever you fancy
3. import PyQt5.Qml # yes, I'm aware you're supposed to use from ... but just for the sake of argument
Actual Results:  
ImportError: No module named 'PyQt5.QtNetwork'


Expected Results:  
QtQml module should load and function cleanly.
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2015-12-03 18:41:07 UTC
Thanks for reporting. Several more were missing and have been added.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333a65ec4744d0d64362756ea88ec0f3b855d603