Results 1 to 11 of 11

Thread: how to captue sqlite's trigger generated err in QT?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    5
    Thanked 86 Times in 81 Posts

    Default Re: how to captue sqlite's trigger generated err in QT?

    you need to include sqlite3.h.
    A camel can go 14 days without drink,
    I can't!!!

  2. #2
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 47 Times in 43 Posts

    Default Re: how to captue sqlite's trigger generated err in QT?

    hi mcosta,
    Thnks fr ur support. I have included sqlite3.h.
    But getting the following err

    69: undefined reference to`sqlite3_errmsg'

    :-1: error: collect2: ld returned 1 exit status


    Thnks
    Bala

  3. #3
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 47 Times in 43 Posts

    Thumbs up [Solved] Re: how to captue sqlite's trigger generated err in QT?

    Problem Solved

    Thnks mcosta

    The problem is solved by adding
    the following line to the .pro file

    LIBS += -L/usr/lib -lsqlite3

    and added #include "sqlite3.h"

    Thnks for ur kind support

    Bala

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
  •  
Qt is a trademark of The Qt Company.