The issue is that when I start the application (with an email address) it prints out the debug message then nothing happens. I know it is a noob question, but is the signal-slot mechanism works in console mode? Or what else can be the issue?

Some more additional info: in earlier version I left out a.exec() and called cl.loginLoop() directly. That way the first request was sent but no slot (nor the sslErrorHanlder nor the handleNetworkData) was called.