add qt dir and a serial example