我也下载了,可是我在机器上编译chap03这个例子程序,提示出错,错误是: .obj/debug-shared-emb-x86/mainwindow.o mainwindow.cpp In file included from gotocelldialog.h:6, from mainwindow.cpp:4: ui_gotocelldialog.h:13:30: qdialogbuttonbox.h: 没有那个文件或目录 In file included from gotocelldialog.h:6, from mainwindow.cpp:4: ui_gotocelldialog.h:22: syntax error before `*' token ui_gotocelldialog.h: In member function `void Ui_GoToCellDialog::setupUi(QWidget*)': ui_gotocelldialog.h:45: `buttonBox' undeclared (first use this function) ui_gotocelldialog.h:45: (Each undeclared identifier is reported only once for each function it appears in.) ui_gotocelldialog.h:45: parse error before `;' token ui_gotocelldialog.h:48: `QDialogButtonBox' undeclared (first use this function) ui_gotocelldialog.h:48: parse error before `;' token mainwindow.cpp: In member function `void MainWindow::createActions()': mainwindow.cpp:167: `New' is not a member of type `QKeySequence' mainwindow.cpp:173: `Open' is not a member of type `QKeySequence' mainwindow.cpp:179: `Save' is not a member of type `QKeySequence' mainwindow.cpp:202: `Cut' is not a member of type `QKeySequence' mainwindow.cpp:209: `Copy' is not a member of type `QKeySequence' mainwindow.cpp:216: `Paste' is not a member of type `QKeySequence' mainwindow.cpp:223: `Delete' is not a member of type `QKeySequence' mainwindow.cpp:242: `SelectAll' is not a member of type `QKeySequence' mainwindow.cpp:250: `Find' is not a member of type `QKeySequence' mainwindow.cpp: In member function `void MainWindow::readSettings()': mainwindow.cpp:394: `restoreGeometry' undeclared (first use this function) mainwindow.cpp: In member function `void MainWindow::writeSettings()': mainwindow.cpp:410: `saveGeometry' undeclared (first use this function) mainwindow.cpp: In member function `bool MainWindow::okToContinue()': mainwindow.cpp:423: invalid conversion from `int' to `const char*' mainwindow.cpp:423: initializing argument 1 of `QString::QString(const char*) ' make: *** [.obj/debug-shared-emb-x86/mainwindow.o] Error 1