QObject::connect(d->db.driver(), SIGNAL(notification(QString)),
this, SLOT(handleNotification(QString)));
#endif
+
+// Workaround for https://bugreports.qt-project.org/browse/QTBUG-30076
+#if QT_VERSION <= QT_VERSION_CHECK(4, 8, 4) || (QT_VERSION > QT_VERSION_CHECK(5, 0, 0) && QT_VERSION <= QT_VERSION_CHECK(5, 0, 2))
+ exec("SET standard_conforming_strings = 'off'");
+#endif
+
subscribeToNotifications();
emit connected();