Please rename the dev-libs/log4cplus[qt] to qt4. This will ensure consistency with the rest of the tree, especially as we prepare for the introduction of Qt5.
Fixed in CVS.