Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560494 - media-gfx/freecad-9999 needs dev-python/pyside +svg
Summary: media-gfx/freecad-9999 needs dev-python/pyside +svg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-14 23:11 UTC by Jon Gerdes
Modified: 2015-09-18 15:27 UTC (History)
1 user (show)

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 Jon Gerdes 2015-09-14 23:11:24 UTC
Accessing the Arch module amongst others generates an error: "Cannot import name qtsvg" or similar and menus don't appear.  A quick search reveals that FreeCAD uses pyside and mine did not have USE=svg.  I added the flag and a quick emerge later, the Arch module now loads properly.

Reproducible: Always

Steps to Reproduce:
1. Have dev-python/pyside with USE=-svg
2. Run FreeCAD, select Arch module
3. 
Actual Results:  
Error message. Menus and toolbars don't get added

Expected Results:  
Arch module to load along with extra toolbars and menus

I'm not sure at what point FreeCAD switched from PyQT4 to pyside.  I'm no expert here and only going by forum postings.  Older versions might need PyQT4 +svg instead.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2015-09-18 15:27:00 UTC
commit de8e6963f76f9326e0b5f5e1e20dcb0c8ceca9ec
Author: Michael Weber <xmw@gentoo.org>
Date:   Fri Sep 18 17:26:28 2015 +0200

    media-gfx/freecad: add dev-python/pyside[svg] (thanks Jon Gerdes, bug 560494).