在QT中连接数据库,可以构建,但是在部署运行时会发生找不到符号错误,请问是需要引入什么库吗?另外qt共享库也部署过了。
[ld]Library /apps/face/face can not find symbol: _ZN12QSqlDatabase17defaultConnectionE
[ld]Library /apps/face/face can not find symbol: _ZN12QSqlDatabase11addDatabaseERK7QStringS2_
[ld]Library /apps/face/face can not find symbol: _ZN12QSqlDatabaseD1Ev
[ld]Library /apps/face/face can not find symbol: _ZN12QSqlDatabaseaSERKS_
[ld]Library /apps/face/face can not find symbol: _ZN12QSqlDatabase15setDatabaseNameERK7QString
[ld]Library /apps/face/face can not find symbol: _ZN12QSqlDatabaseC1Ev