PDA

View Full Version : Subscribe to ALL Notifications



otternase
6th June 2010, 14:27
Hi

since Qt 4.4 the QSqlDriver can subscribe to Notifications sent by the database (e.g. PostgreSQL) and issue a notification-Signal whenever the database raises the named NOTIFY.

But I can't find any way how to listen to ALL Notifications sent by the database or how to receive signals without first knowing the name of the notification?
Furthermore Qt seems also not able to read the payload sent with the notification?

Any workarounds?

Thanks
Markus