分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
paip.undefined reference to MainWindow::xxx from moc_mainwindow.cpp错误解决
作者Attilax , EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
现象:
------------
D:\qtworkspace\build-atiqtc9-deskc9-Debug\debug\moc_mainwindow.cpp:117: error: undefined reference to `MainWindow::ShowMainWindow()'
case 6: _t->on_pushButton_testlib_clicked(); break;
case 7: _t->on_pushButton_4_clicked(); break;
case 8: _t->on_btn_exeNetDll_clicked(); break;
case 9: _t->ShowMainWindow(); break;
default: ;
原因: cpp 方法没有加上类::在前面.
----------------------------------------------
//MainWindow
void ShowMainWindow()
解决:
-------------
void MainWindow::ShowMainWindow()
作者Attilax , EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
现象:
------------
D:\qtworkspace\build-atiqtc9-deskc9-Debug\debug\moc_mainwindow.cpp:117: error: undefined reference to `MainWindow::ShowMainWindow()'
case 6: _t->on_pushButton_testlib_clicked(); break;
case 7: _t->on_pushButton_4_clicked(); break;
case 8: _t->on_btn_exeNetDll_clicked(); break;
case 9: _t->ShowMainWindow(); break;
default: ;
原因: cpp 方法没有加上类::在前面.
----------------------------------------------
//MainWindow
void ShowMainWindow()
解决:
-------------
void MainWindow::ShowMainWindow()