Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567394 - dev-python/PyQt5-5.5.1: PyQt5.Qml needs PyQt5.QtNetwork
Summary: dev-python/PyQt5-5.5.1: PyQt5.Qml needs PyQt5.QtNetwork
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 22:50 UTC by niks1024
Modified: 2015-12-03 18:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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