Minor changes.

I've rearranged some code, pulling the frame processing code to a seperate function. This removes 2 indentation steps and hopefully makes things easier to understand. Logic was not changed.

The alignment issue is actually very easy to fix. Qt provides a function to parse byte data into numbers fixing its endian format.

Also, on UNIX, unit tests do not run because library is not found without either setting rpath or LD_LIBRARY_PATH. Since it's only unit tests, rpath is good enough.

can you actually just move the code back into readReady and wrap it in a forever { }? I don't see the need to move it to a wholly separate function if nothing else is going on, it seems this just reduces the indentation level by one so is simply aesthetic