The variable is "QT" not "Qt":
Qt Code:
  1. QT += network gui xml # ... and so on, whatever you may need
To copy to clipboard, switch view to plain text mode 

Regards