在所有代码和槽函数全部写好之后,进行编译时竟然报 No such slot xxxx,奇怪 Starting E:\01_project\03_C++\key\debug\key.exe... Object::connect: No such slot MainWindow::GenerateKey() in mainwindow.cpp:26 Object::connect: (sender name: 'btn_ok') Object::connect: (receiver name: 'M…