using a pointer instead this time

using QSerialPort as a pointer to see if it caused any problems, and it
does not.