Yes, I have created the object.

Qt Code:
  1. QHttp *http = new QHttp(this);
To copy to clipboard, switch view to plain text mode 

Oddly enough, when I try to create a class B object manually on the main function, the performFunction slot does execute normally.