QObject::connect: Parentheses expected, slot MainWindow::Img_gray in
错误:
connect(rgb2gray, SIGNAL(triggered()), this, SLOT(Img_gray));
正确:
connect(rgb2gray, SIGNAL(triggered()), this, SLOT(Img_gray()));
QObject::connect: Parentheses expected, slot MainWindow::Img_gray in
错误:
connect(rgb2gray, SIGNAL(triggered()), this, SLOT(Img_gray));
正确:
connect(rgb2gray, SIGNAL(triggered()), this, SLOT(Img_gray()));