Results 1 to 2 of 2

Thread: Using QSqlDriver::subscribeToNotification with sqlite3

  1. #1
    Join Date
    Apr 2010
    Posts
    77
    Thanks
    10
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Using QSqlDriver::subscribeToNotification with sqlite3

    Hi all
    I've been looking all over the web for a code example of how to use QSqlDriver::subscribeToNotification but can't find one. I know the syntax is along the lines of:
    db.driver()->subscribeToNotification("anEventId");
    But how do I know what "anEventId" is. Are these constants in sqlite or do I code these specific events into sqlite using Triggers or something else?
    If I have to code them in sqlite, could someone give me some example code please?

    Thanks heaps
    Jeff
    Last edited by Jeffb; 5th September 2018 at 12:25.

  2. #2
    Join Date
    Apr 2010
    Posts
    77
    Thanks
    10
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Using QSqlDriver::subscribeToNotification with sqlite3


Similar Threads

  1. sqlite3.h
    By sliverTwist in forum Qt Programming
    Replies: 2
    Last Post: 26th February 2013, 10:33
  2. sqlite3 with QT
    By vinithr in forum Newbie
    Replies: 6
    Last Post: 5th August 2012, 14:25
  3. SQLite3 and Qt
    By k12yp70n in forum Newbie
    Replies: 3
    Last Post: 18th March 2009, 16:18
  4. ADO.NET qsqldriver?
    By darkadept in forum Qt Programming
    Replies: 4
    Last Post: 9th May 2008, 18:04
  5. QSqlDriver/handle and subscribeToNotification
    By ederbs in forum Qt Programming
    Replies: 3
    Last Post: 11th December 2007, 15:40

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.