#include <QtGui/QApplication>
#include "dialog.h"
#include <QWebView>
#include <QUrl>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWebView *view = new QWebView;
view->load(QUrl("http://baidu.com/"));
view->show();
return a.exec();
}
报错F:/Qt/Qtwendang/1212/main.cpp:9: error: `QWebView' was not declared in this scope
请问如何解决??
[ 此帖被xtlx2000在2009-09-27 22:31重新编辑 ]