随笔分类 -  qt

qt通过odbc操作Excel
摘要:1、查找资料却没找到能够通过odbc访问07版以上的Excelhttp://qt-project.org/wiki/Handling_Microsoft_Excel_file_format里边的odbc代码未运行成功。2、代码#include "widget.h"#include #include ... 阅读全文
posted @ 2015-02-02 18:06 充实自己 阅读(1021) 评论(0) 推荐(0)
qt读取oracle表数据
摘要:1、文件->新建项目->qt widgets application->qwidget->完成2、在.pro文件中增加QT +=sql3、代码#include "widget.h"#include #include #include #include int main(int argc, char ... 阅读全文
posted @ 2015-02-02 17:15 充实自己 阅读(1074) 评论(0) 推荐(0)