Active Topics

 


Reply
Thread Tools
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#1
Hi!

I just added a QWebView widget to a QTabWidget. Now when I compile the project, I hit the following error. Removing the QWebView removes the error. The only property I have set on the QWebView is the 'url' property which points to a file in my Documents folder: 'file:///C:/Users/...'

Code:
debug/mainwindow.o:mainwindow.cpp:(.text$_ZN13Ui_MainWindow7setupUiEP11QMainWindow[Ui_MainWindow::setupUi:-1: error: undefined reference to `_imp___ZN8QWebViewC1EP7QWidget'
Stricty speaking, this is not a Maemo issue as I have the issue directly in Qt Creator o Windows Vista, but maybe someone here has some suggestions?

Actually, the fact that I placed it in the QTabWidget doesn't seem to matter as I get the same error even if I place it on the 'main' window...
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).
 
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#2
Ok, found it. I needed to add webkit to the .pro file. I thought it would be added automatically by Qt Creator. See http://doc.trolltech.com/4.6/qtwebkit.html.
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).
 

The Following 2 Users Say Thank You to magnuslu For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 01:05.