1、cannot initialize a parameter of type ‘QWidget *’with an rvalue of type 'Core *'
出问题的地方是构造函数中开头:ui->setupUi(this);//this错误
调试用发现问题是头文件中变量声明使用了BOOL,将BOOL修改为bool就不提示报错了
2、use of nudeclared identifier 'Sleep'
Sleep(100)修改为QThread::msleep(100);
1、cannot initialize a parameter of type ‘QWidget *’with an rvalue of type 'Core *'
出问题的地方是构造函数中开头:ui->setupUi(this);//this错误
调试用发现问题是头文件中变量声明使用了BOOL,将BOOL修改为bool就不提示报错了
2、use of nudeclared identifier 'Sleep'
Sleep(100)修改为QThread::msleep(100);