PDA

View Full Version : how to send sqlite query CREATE TRIGGER in qt application



abdul_moiz
9th June 2011, 08:01
Hi,

I am writing a QT application for phone call log with sqlite backend.
I have created 3 tables received,missed,dialed.
I want to send sqlite query CREATE TRIGGER to the database from the qt application thereby based on the trigger i can populate the above said tables.
Can anybody suggest me on this.

ChrisW67
9th June 2011, 09:20
Put it through QSqlQuery like any other query you wish to execute.

abdul_moiz
10th June 2011, 06:07
thanks,
I can send it like other queries