Hi and welcome to devnet,
A VM is not a problem, you can install and do Qt 5 development on e.g. VirtualBox, VMWare or Parallels without any problem.
However, it's not sure that Cloud9 provides an X server which is needed to use the xcb plugin.
You should check with the Cloud9 people about that.