QT Code for controlling Lego Mindstorms