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

Bug 623610

Summary: media-gfx/openscad-2015.03_p2 can be made to support qt5 with a simple patch
Product: Gentoo Linux Reporter: maurerpe <junk4me46806>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 623608    
Bug Blocks: 634970    
Attachments: openscad-2015.03_p2-r3.ebuild
openscad_uic_tr_fix.patch
openscad-2015.03_p2-r3.ebuild

Description maurerpe 2017-07-03 01:21:06 UTC
Created attachment 480090 [details]
openscad-2015.03_p2-r3.ebuild

The attached ebuild and patch allow openscad to be built against either qt4 or qt5 (but not both).

For this to work, a version of openscg that supports qt5 is also needed.  See bug 623608 an ebuild that does this.
Comment 1 maurerpe 2017-07-03 01:22:23 UTC
Created attachment 480092 [details, diff]
openscad_uic_tr_fix.patch

Patch that allows openscad to compile and run against qt5
Comment 2 maurerpe 2017-07-05 04:05:38 UTC
Created attachment 480822 [details]
openscad-2015.03_p2-r3.ebuild

The fix for bug 623608 did not include qt4 and qt5 use flags on media-gfx/opencsg as expected when I created the attached ebuild (because they aren't needed).  See bug 623608 for details.

I have updated the openscad ebuild to reflect this.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-10-21 21:25:18 UTC
Thanks for your patch, added to tree in git commit 82b27387e7847268227a680fe402f63fd4b97113