Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
代码其实很简单: QSqlQuery query(db); query.exec("select blobfield from img"); query.first(); QByteArray bytes = query.record().value(0).toByteArray(); 这里得到的bytes数据 和 用数据库工具中看到的内容不一样。我用delphi把数据导出来看和数据库工具看得一模一样的,是不是还有什么选项需要设置呢?
是在win7 64-bit的系统上发现这个问题的,搞了一天都没有找到是啥原因!求高手指点!