• 5655阅读
  • 1回复

[提问]各位高手帮忙看看  mainwindow [复制链接]

上一主题 下一主题
离线jinshuangyan
 

只看楼主 正序阅读 楼主  发表于: 2011-05-23
实现文件新建保存等时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


只看该作者 1楼 发表于: 2012-03-16
你好,我也遇到了同样的问题,不知道这个问题你解决了没有??
谢谢
有缘相聚在这个论坛
快速回复
限100 字节
 
上一个 下一个