30: connect( server, SIGNAL(receivedText(const QString&)),mainDialog->txtName, SLOT(setText(const QString&)) );
startup.cpp(30) : error C2664: 'bool QObject::connect(const QObject *,const char *,const QObject *,const char *)' : cannot convert parameter 3 from 'QTextBrowser *' to 'const QObject *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Если заменить QTextBrowser на QLabel все ок