随笔分类 - Qt
摘要:class QRollLabel:public QLabel { Q_OBJECT public: QRollLabel(QWidget *parent=nullptr):QLabel(parent){ mRollingText="我不是萧海哇111111111111111111111111111"
阅读全文
摘要:#include "mainwindow.h" #include <QApplication> #include<QMessageBox> #include<QAbstractButton> #include"lvglfontwidget.h" #include<QFile> int main(in
阅读全文
摘要:#ifndef APPINIT_H #define APPINIT_H #include <QApplication> #include <QMouseEvent> #include <QMoveEvent> #include <QMutex> #include <QObject> #include
阅读全文
摘要:class QRollLabel:public QLabel { Q_OBJECT public: QRollLabel(QWidget *parent=nullptr):QLabel(parent){ mRollingText="我不是萧海哇111111111111111111111111111"
阅读全文
摘要:问题,vtable for 编译类型报错: 原因是因为你定义的类接口声明和定义都在.cpp当中 解决办法: 放到头文件当中即可
阅读全文
摘要:Qt5.14.2+mingw64编译OpenCV3.4.14一次成功记录 上一文中编译opencv4.5成功了,但是使用过程中没有成功,网上很多的代码没法跑起来,所以才有了此文来编译一个低版本的opencv3的过程记录,全程截图。 一、软件安装 1.1 Python3.8版本安装路径:C:\User
阅读全文
该文被密码保护。
该文被密码保护。
摘要:#include "mainwindow.h" #include "ui_mainwindow.h" #include<QPainter> #include<QColor> QColor m_color; int m_x=0; int m_y=0; int m_w=0; int m_h=0; Mai
阅读全文