Qt のEXecl
http://blog.csdn.net/czyt1988/article/details/52121360 OK
http://bbs.csdn.net/topics/391848669?page=1
http://blog.csdn.net/a1069962325/article/details/49514377
http://jingyan.baidu.com/article/4d58d5410035d09dd4e9c0cb.html
http://zhidao.baidu.com/question/487358038767624172.html?qbl=relate_question_3&word=qt%20%BF%EC%CB%D9%B6%C1%C8%A1excel%CE%C4%BC%FE
QT 遍历目录查找指定文件
http://blog.csdn.net/itjobtxq/article/details/8350985
http://bbs.csdn.net/topics/390741884
qt在数据库查找的条件.... WHERE (name='%1').arg( name_str) " );可以这样用的吗?
query.exec("SELECT name FROM new_table WHERE (name='%1').arg( name_str) " );想将qt设置好变量传递给数据中的name,通过name条件来查找符合条件的,但是我该怎么将qt中的变量传递进来了,求解!
query.exec(QString("SELECT name FROM new_table WHERE (name='%1')").arg( name_str));
楼主语法错误: 正确的这样写query.exec(QString("SELECT name FROM new_table WHERE (name='%1')").arg( name_str));