2015-08-11 11:10 GMT+01:00 Sergey Popov <pinkb...@gentoo.org>: > > 3. Package can be build with Qt4 or Qt5 or both AT THE SAME TIME(if such > package even exists?) >
Take app-text/poppler as an "officially supported" example. Take x11-libs/qwt as an example of a library that gets a patched library name to avoid collisions (at least, last time I looked into it). I would argue this is a very desirably property for libraries in general. I even keep my own small overlay with Qt5-enabled versions of libraries like qxmpp, qtermwidget or liblastfm. > Do not use REQUIRED_USE here, not needed. > You missed the fourth option: the package can not be built without Qt GUI, but it supports building with either Qt version at the same time. -- Georg Rudoy