fix #31856: add option to trim whitespace from exported PNG
fix mtest
Merge pull request #1514 from MarcSabatella/trim-option

fix #31856: add option to trim whitespace from exported PNG
switch to Qt-5.4 on Windows
test