The example illustrates the minimum amount of code required for:
- Setting up and opening a connection,
- joining a channel,
- sending a channel message,
- and quiting.
connection.setUserName("communi");
connection.setNickName(
QString(
"Minimal%1").arg(qrand() % 9999));
connection.open();
Files: