#include "qdbftable.h"
#include "qdbfrecord.h"
QDbf::QDbfTable table;
if (!table.open(filePath)) {
qDebug() << "file open error";
return;
}
while (table.next()) {
QString output;
QDbf::QDbfRecord record = table.record();
for (int i = 0; i < record.count(); ++i) {
output.append(record.fieldName(i));
output.append(QLatin1String(": "));
output.append(record.value(i).toString().trimmed());
output.append(QLatin1String("; "));
}
qDebug() << output;
}
table.close();
-
-
Notifications
You must be signed in to change notification settings - Fork 18
QDbf - Qt DBF library
License
IvanPinezhaninov/QDbf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
QDbf - Qt DBF library
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published