
Qt
文章平均质量分 75
bai_Dreamer
这个作者很懒,什么都没留下…
展开
-
Qt文件读写操作
if(file.open(QIODevice::WriteOnly) file.write("hello Qt"); file.close(); 以读的方式打开 if(file.open(QIODevice::ReadOnly)) { QString str = file.readAll(); qDebug() } 当然也有其它两种方式来实现原创 2016-04-25 18:26:55 · 2673 阅读 · 0 评论 -
Qt5.5
Qt5.5连接mysql数据库时会提示 QSqlDatabase: QMYSQL driver not loaded 的错误需要在C:\Windows下增加一个dll文件 mysql下的dll文件有时并不一定有用。 另附下载连接: http://download.youkuaiyun.com/detail/bai_dreamer/9541704原创 2016-06-05 14:01:25 · 448 阅读 · 0 评论 -
qt中的信号和槽机制,不能更改界面
必须把slot的函数和要更改的界面的程序放在一起原创 2016-10-24 17:10:49 · 706 阅读 · 0 评论