Changes needed to compile on Linux
fix dangling pointer
The lifetime of the temporary QByteArray did not extend to the time
when the pointer to its contents was accessed.
Resolved by promoting the QByteArray to automatic storage duration.
Merge pull request #1 from StrmSrfr/master

Changes needed to work on Linux