SylixOS嵌入式操作系统|论坛

 找回密码
 注册
搜索
查看: 2515|回复: 0
打印 上一主题 下一主题

【中国软件杯大赛】使用数据库

[复制链接]

1

主题

1

帖子

23

积分

新手上路

Rank: 1

积分
23
跳转到指定楼层
楼主
发表于 2022-6-30 15:16:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在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

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|Acoinfo Inc. All Rights Reserved. ( 京ICP备15059934号

GMT+8, 2024-4-24 07:38 , Processed in 0.018716 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表