I'm creating an application that needs to potentially run very complicated statements, which can potentially run for a very long time so an Abort feature is mandatory.

Is there a way to abort a long running call using Qt or do I need to forget about Qt SQL and just use vendor specific APIs?