Texmaker needs qtscript when building with qt5. By includeinf buildlink3.mk from qt5-qtscript and qt5-qtwebkit texmaker gets all it's needed qt5 dependencies.