Originally Posted by mattia class server : public QTcpServer, public QMainWindow This isn't a good idea. Better use two classes --- one for the GUI and one for the communication. Originally Posted by mattia int main(int argc, char *argv[]) { QApplication a(argc, argv); server s; ... server w; ... } Why do you create two servers and where's the client?
mattia (1st November 2007)
Forum Rules
Bookmarks