QT5出现mainwindow.cpp:9:32: error: called object type 'QMenuBar *' is not a function or function pointer QMenuBar *menuBar = menuBar(); 原因:变量名与系统内置的重名