I use postgresql under linux.
When I insert a record in a table a rule emit a NOTIFY.
On the application I connect this SIGNAL:
QSqlDatabase::database().driver()->subscribeToNotification(sName + _UPDATE_STRING);
QObject::connect((QObject*)QSqlDatabase::database( ).driver(), SIGNAL(notification(const QString&)), this, SLOT(Notification(const QString&)));
The problem is the all the instance running on the network intercept this signal but not the application itself that insert the record.
On windows non problem.
Suggestions?
Thanks
Teo
Bookmarks