#include "chatroom.h" #include int main(int argc, char *argv[]) { QApplication a(argc, argv); Chatroom c; c.show(); c.startSession(); return a.exec(); }