Created attachment 448364 [details, diff] gpgme-1.7.0-moc.patch app-crypt/gpgme-1.7.0[qt5] calls moc directly, but /usr/bin/moc is a symlink that could point to qt4 or qt5. Attached is a suggested patch to ensure the qt5 version of moc is always called.
thanks! done this a little bit different.