菜单栏中有几个子菜单,想点击子菜单之后就出现相应的子菜单界面,如其中的两个子菜单界面如下:
可是不能把它们同时建立起来,也就是说:当我只建立其中的一个子界面的时候没有任何问题,但是想两个同时建立的时候就出现错误了:
mainwindow.cpp: In member function 'void MainWindow::slotMRFZones()":
mainwindow.cpp:244:error:MRFZones_StandardDialogs' was not declared in this scope
mainwindow.cpp:244:error:MRF_StandardDialogs' was not declared in this scope
mainwindow.cpp:244:error: expected type-specifier before 'MRFZones_StandardDialogs'
mainwindow.cpp:244:error: expected\;'before 'MRFZones_StandardDialogs'
make: ***[mainwindow.o]错误1
请问是什么原因?谢谢!