Merge pull request #343 from xtuple/4_4_x

4.4.1
Merge pull request #360 from xtuple/4_5_x

4 5 x
Merge pull request #374 from xtuple/4_5_x

4 5 x
Changes for using shared version of OpenRPT
Merge remote-tracking branch 'DPOCOCK/qmake-libdir' into qmake-libdir-45x
Merge pull request #389 from gilmoskowitz/qmake-libdir-45x

merge static/dynamic library build changes onto 4_5_x (thanks to dpocock for the contribution)