CDBEngine: Fix Qt4 build

Change-Id: I4fb7136c2ec53b5545a0602c108843452599347e
Reviewed-by: David Schulz <david.schulz@digia.com>