Yes, it is possible. Just make sure that both class declarations contain required Q_OBJECT macro and that you declare signals and slots properly. Take a look at the debug output. QObject::connect() outputs a detailed warning when it fails to establish signal-slot connection.
Bookmarks