Update mouse_coor_capture.cpp

Adding qt dependencies to make it more cross-platform capable.