实现文件新建保存等时qmake后出现如下错误:
mainwindow.o mainwindow.cpp
In file included from mainwindow.cpp:3:
ui_mainwindow.h: In member function 'void Ui_MainWindow::setupUi(QMainWindow*)':
ui_mainwindow.h:143: error: invalid use of incomplete type 'struct QStatusBar'
/forlinux/4.4.3/builddir/sdk/qtopiacore/target/include/QtGui/qmainwindow.h:54: error: forward declaration of 'struct QStatusBar'
ui_mainwindow.h:144: error: invalid use of incomplete type 'struct QStatusBar'
/forlinux/4.4.3/builddir/sdk/qtopiacore/target/include/QtGui/qmainwindow.h:54: error: forward declaration of 'struct QStatusBar'
ui_mainwindow.h:145: error: 'class QMainWindow' has no member named 'setStatusBar'
mainwindow.cpp: In member function 'void MainWindow::do_file_SaveAs()':
mainwindow.cpp:52: error: '::getSaveFileName' has not been declared
make: *** [mainwindow.o] 错误 1