Removed dependency with Qt3Support. Fixed usage of deprecated APIs
Removed QtSql from runtime files