Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623610 - media-gfx/openscad-2015.03_p2 can be made to support qt5 with a simple patch
Summary: media-gfx/openscad-2015.03_p2 can be made to support qt5 with a simple patch
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
Keywords: PATCH
Depends on: 623608
Blocks: qscintilla-qt4-removal
  Show dependency tree
Reported: 2017-07-03 01:21 UTC by maurerpe
Modified: 2017-10-21 21:25 UTC (History)
1 user (show)

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

openscad-2015.03_p2-r3.ebuild (openscad-2015.03_p2-r100.ebuild,1.54 KB, text/plain)
2017-07-03 01:21 UTC, maurerpe
openscad_uic_tr_fix.patch (openscad_uic_tr_fix.patch,350 bytes, patch)
2017-07-03 01:22 UTC, maurerpe
Details | Diff
openscad-2015.03_p2-r3.ebuild (openscad-2015.03_p2-r100.ebuild,1.52 KB, text/plain)
2017-07-05 04:05 UTC, maurerpe

Note You need to log in before you can comment on or make changes to this bug.
Description maurerpe 2017-07-03 01:21:06 UTC
Created attachment 480090 [details]

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]

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

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