上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 29 下一页
摘要: 安装过程 下载windows_x64数据库mysql_5.7.36. https://dev.mysql.com/downloads/mysql/ 下载zip格式的。与linux下安装方式类似 解压 将文件解压出来。 准备好安装目录 至少准备两个目录,一个放刚才解压出来的MySQL数据库管理工具,另 阅读全文
posted @ 2022-02-27 17:28 看不见的R 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 找到文件 /etc/apt/source.list 备份下,然后在文件中添加如下内容: # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restr 阅读全文
posted @ 2022-02-25 23:18 看不见的R 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 使用QString的section函数 QString str = "123,,576"; cout << str.section(",,",0,0); cout << str.section(",,",1,1); cout << str.section(",,",0,1); ##参数说明 第一个参 阅读全文
posted @ 2022-02-24 21:40 看不见的R 阅读(42) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_16542775/article/details/86293180 main.cpp #include <QtGui> #include "mwin.h" int main(int argc,char *argv[]) { QApplication 阅读全文
posted @ 2022-02-24 14:27 看不见的R 阅读(515) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/MakeView660/p/11206347.html 首先编译一下APP 在编译目录下找到 android-build 目录,在里面找到AndroidManifest.xml这个文件。 在源码目录中添加 android_source 目录。 将 An 阅读全文
posted @ 2022-02-24 13:38 看不见的R 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: 通过异或操作,对于字符串进行简单地加密,然后可以使用同一个函数进行解密,算法简单,是用于简单地加密解密,不适合严格的项目。 void EncData(QByteArray &data) { static QByteArray key1 = "myprivatekey"; static QByteAr 阅读全文
posted @ 2022-02-24 02:36 看不见的R 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: unblock with 'mysqladmin flush-hosts' 原因:错误连接数量过大 解决办法:清除连接缓存 -- 查询错误 use performance_schema; -- 清除错误 flush hosts; 过程 造成这个现象的原因是通过 *.* 给账号权限后,才创建的数据库。 阅读全文
posted @ 2022-02-22 23:13 看不见的R 阅读(1035) 评论(0) 推荐(0) 编辑
摘要: ui.pushButton->setCursor(QCursor(Qt::PointingHandCursor)); 阅读全文
posted @ 2022-02-22 02:54 看不见的R 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 实现过程: QSvgRender读取svg图片。 创建一个pixmap。 将svg渲染到QPainter。 将painter画到pixmap中。 QTreeWidgetItem *item = new QTreeWidgetItem; //svg_path为SVG图片路径 QSvgRenderer 阅读全文
posted @ 2022-02-21 00:53 看不见的R 阅读(917) 评论(0) 推荐(0) 编辑
摘要: 将下载的iconfont加载为资源 #include "mainwindow.h" #include "ui_mainwindow.h" #include <QFontDatabase> MainWindow::MainWindow(QWidget *parent) : QMainWindow(pa 阅读全文
posted @ 2022-02-21 00:48 看不见的R 阅读(731) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 29 下一页