摘要: qt5.2版本已经封装进去了mysql驱动,所以省去了我们现编译的麻烦!!! #include #include #include #include int main(int argc, char *argv[]){ QCoreApplication a(argc, argv); Q... 阅读全文
posted @ 2013-12-22 15:20 N3verL4nd 阅读(712) 评论(0) 推荐(0)
摘要: 建库 在VS下新建qt console appication 代码: #include #include #include #include #include #pragma comment(lib, "Qt5Sql.lib")int main(int argc, char *argv[]... 阅读全文
posted @ 2013-12-22 13:03 N3verL4nd 阅读(621) 评论(0) 推荐(0)