Am Donnerstag 10 September 2009 18:58:42 wrote Philipp Thomas:
On Thu, 10 Sep 2009 14:30:45 +0200, you wrote:
In file included from include/assuma_helpbrowser.h:21, from src/assuma_mainwindow.cpp:36: build/ui_assuma_helpbrowser.h:39: error: ISO C++ forbids declaration of 'QWebView' with no type
The definition of QWebView is missing. Try adding
#include <QWebView> Thank you for your Help. But it shows that it's not all...
to othe other #includes in assuma_helpbrowser.h. Note that QWebView needs at least Qt 4.4. I've BuildRequires: libqt4-devel >= 4.4 qt-devel >= 4.4-
ATM i'm getting after the #include Patch: g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 - fstack-protector -funwind-tables -fasynchronous-unwind-tables -D_REENTRANT - Wall -W -DASSUMA_DATADIR='"/usr/local/share/AssociationSubscribersManager"' - DASSUMA_DOCDIR='"/usr/local/share/AssociationSubscribersManager/doc"' - DASSUMA_IMGDIR='"/usr/local/share/AssociationSubscribersManager/images"' - DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB - DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED - I../../../../share/qt4/mkspecs/default -I. -I../../../../include/QtUiTools - I../../../../include/QtCore -I../../../../include/QtNetwork - I../../../../include/QtGui -I../../../../include/QtXml - I../../../../include/QtScript -I/usr/include/QtWebKit -I../../../../include - Iinclude -Ibuild -Ibuild -Ibuild -o build/assuma_mainwindow.o src/assuma_mainwindow.cpp In file included from include/assuma_helpbrowser.h:21, from src/assuma_mainwindow.cpp:36: build/ui_assuma_helpbrowser.h:24:29: error: QtWebKit/QWebView: No such file or directory In file included from src/assuma_mainwindow.cpp:36: include/assuma_helpbrowser.h:24:20: error: QWebView: No such file or directory In file included from include/assuma_helpbrowser.h:21, from src/assuma_mainwindow.cpp:36: build/ui_assuma_helpbrowser.h:39: error: ISO C++ forbids declaration of 'QWebView' with no type build/ui_assuma_helpbrowser.h:39: error: expected ';' before '*' token build/ui_assuma_helpbrowser.h: In member function 'void Ui_AssumaHelpBrowser::setupUi(QDialog*)': build/ui_assuma_helpbrowser.h:94: error: 'webView' was not declared in this scope build/ui_assuma_helpbrowser.h:94: error: expected type-specifier before 'QWebView' build/ui_assuma_helpbrowser.h:94: error: expected ';' before 'QWebView' make: *** [build/assuma_mainwindow.o] Error 1 I think that one Error depends on another Error... -- Sincerely yours Sascha Manns openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org