Changed it so that processing is done with libxslt instead of with xsltproc.exe.
Error output from an erroneous XSLT file is properly redirected into the error file.
Updated code to Qt5
temp commit
Better error reporting