![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Qt
文章平均质量分 69
初阳-.-#
人生,不该有遗憾!
展开
-
Qt5.12.12构建64位QMYSQL数据库驱动&“driver not loaded”
【Qt】Qt5.12.12构建64位QMYSQL数据库驱动原创 2023-10-17 17:23:57 · 624 阅读 · 0 评论 -
QT MVS2017&MySQL 8.0.32在win10部署qt连接数据库错误“Host ‘xxx‘ is not allowed to connect to this MySQL server“
QT MVS2017&MySQL 8.0.32在win10部署qt连接数据库错误"Host 'xxx' is not allowed to connect to this MySQL server"原创 2023-10-17 17:16:50 · 177 阅读 · 0 评论 -
ListView 和C++ QAbstractListModel 自定义model 记录
test.qmlimport QtQuick 2.0import mylist 1.0ListView { width: 180; height: 200 model: PeopleListModel { id: model1 } delegate: Text { text: name + ": " + number } MouseArea { anchors.fill: parent .原创 2020-07-07 13:54:46 · 976 阅读 · 1 评论 -
[Qt] 自带的数据库QSQLITE
database.h#ifndef DATABASE_H#define DATABASE_H#include <QTextCodec>#include <QSqlDatabase>#include <QSqlQuery>#include <QTime>#include <QSqlError>#include <Q...转载 2019-01-09 13:49:08 · 1361 阅读 · 2 评论 -
Qt编译器--MinGW与MSVC的区别
Qt 中有两种方式编译:一种是MinGW ,另一种MSVC,MinGW与MSVC是两种不同的编译器。1、MSVC(Microsoft Visual C++ Compiler)是指微软的VC编译器。2、MinGW是MinimalistGNUfor Windows的缩写。它是一个可自由使用和自由发布的Windows特定头文件和使用GNU工具集导入库的集合,允许你在GNU/Linux和Windo...原创 2019-07-09 17:49:27 · 5139 阅读 · 0 评论 -
Qt中的QString和QStringList常用方法
QString//QString定义QString s1 = "abc";QString s2("hello");//字符串连接QString s = s1 + s2;//组包s = QString("a = %1, b = %2, c = %3").arg(250).arg("hello").arg(22.22);qDebug()<<s;//输出结果:a = ...转载 2019-07-22 10:38:43 · 5819 阅读 · 0 评论