texmaker-4.0.4 $ grep qtsingleapplication texmakerapp.h texmaker.pro texmakerapp.h:#include "singleapp/qtsingleapplication.h" texmaker.pro: singleapp/qtsingleapplication.h \ texmaker.pro: singleapp/qtsingleapplication.cpp \ Needs patching.
last time I tried to fix this, it didn't work. The internal one is much older than the one in the tree.
Seems dev-qt/qtsingleapplication-2.6.1 is not fresh too: it is from 2009 year. There are several new commits: https://qt.gitorious.org/qt-solutions/qt-solutions/history/80592b0e7145fb876ea0e84a6e3dadfd5f7481b6:qtsingleapplication
+*texmaker-4.0.4-r1 (26 Oct 2013) + + 26 Oct 2013; Justin Lecher <jlec@gentoo.org> +texmaker-4.0.4-r1.ebuild, + +files/texmaker-4.0.4-unbundle.patch, +files/texmakerx_my.pri: + Use system dev-qt/qtsingleapplication, #489154 +