Redis 5 解压缩,编译(/home/software/) tar -zxvf redis-5.0.5.tar.gz ln -s redis-5.0.5 redis yum install gcc-c++ cd redis make && make install 此时,便可以通过redis-s ...
分类:
其他好文 时间:
2021-01-30 12:22:13
阅读次数:
0
Qt提供了一个QProcess类用于启动外部程序并与之通信。这个类是异步工作的,而且在后台执行,这样用户界面就可以始终保持响应。 QProcess::start()与QProcess::execute()都能完成启动外部程序的任务,二者有什么区别呢?区别在于start()是非阻塞的,而execute ...
分类:
其他好文 时间:
2021-01-30 12:01:37
阅读次数:
0
自定义事件:鼠标拖动一个图片,原图片变为阴影,图片跟着鼠标用,鼠标放下,图片放下,原图消失。 void mousePressEvent(QMouseEvent *event); //鼠标按下事件 void dragEnterEvent(QDragEnterEvent *event); //拖动进入事 ...
分类:
其他好文 时间:
2021-01-29 12:17:24
阅读次数:
0
void doPrint(); void doPrintPreview(); void printPreview(QPrinter *printer); void createPdf(); ui->setupUi(this); QAction *action_print = new QAction( ...
分类:
其他好文 时间:
2021-01-29 12:11:27
阅读次数:
0
Windows does not really support dual mode applications. To see console output you need to create a console application CONFIG += console However, if y ...
分类:
其他好文 时间:
2021-01-28 12:25:20
阅读次数:
0
.vscode/launch.json设置 关键在于 "program": "${workspaceFolder}/src/qt/bitcoin-qt", 全部内容: { // Use IntelliSense to learn about possible attributes. // Hover ...
分类:
其他好文 时间:
2021-01-27 14:04:54
阅读次数:
0
多台服务器Docker-compose 安装zookeeper集群 安装docker-compose zookeeper安装与配置 检查集群 安装docker-compose ? 安装docker:sudo apt-get install docker.io ? 开机启动docker sudo sy ...
分类:
其他好文 时间:
2021-01-27 13:35:09
阅读次数:
0
定义的接口 #ifndef REGEXPINTERFACE_H #define REGEXPINTERFACE_H #include <QString> class RegExpInterface { public: virtual ~RegExpInterface() { } virtual QS ...
分类:
其他好文 时间:
2021-01-25 10:51:17
阅读次数:
0
plotArea属性的,返回的是QRectF类 ui->chartView->chart()->plotArea().width() ...
分类:
其他好文 时间:
2021-01-25 10:38:32
阅读次数:
0
QValueAxis Detailed Description The QValueAxis class is used for manipulating chart’s axis.ValueAxis can be setup to show axis line with tick marks, g ...
分类:
其他好文 时间:
2021-01-22 12:23:53
阅读次数:
0