[webkit-qt] Linking error when trying to build Qt Webkit on MacOSX

Sneha Bhat sneharbhat at gmail.com
Fri Jun 24 17:41:27 PDT 2011


Hi,

I was trying to build Webkit fro QT port on Mac and got some errors.I took
the latest version of webkit.

i am just pating a few of them

g++ -headerpad_max_install_names -arch x86_64 -single_module -dynamiclib
-Xarch_x86_64 -mmacosx-version-min=10.5 -o libqmlwebkitplugin.dylib
obj/release/qdeclarativewebview.o obj/release/plugin.o
obj/release/moc_qdeclarativewebview_p.o
-F/../Webkit_gen/WebKitBuild/Release/lib -F/../QtSDK/Desktop/Qt/473/gcc/lib
-L/../Webkit_gen/WebKitBuild/Release/lib -L/../QtSDK/Desktop/Qt/473/gcc/lib
-framework QtWebKit -framework QtDeclarative -framework QtGui -framework
QtCore
Undefined symbols:
  "QWebElement::isNull() const", referenced from:
      QDeclarativeWebView::elementAreaAt(int, int, int, int) constin
qdeclarativewebview.o
  "QGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent*)", referenced
from:
      GraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent*)        in
qdeclarativewebview.o
  "QWebPage::~QWebPage()", referenced from:
      QDeclarativeWebPage::~QDeclarativeWebPage()in qdeclarativewebview.o
      QDeclarativeWebPage::~QDeclarativeWebPage()in qdeclarativewebview.o
  "non-virtual thunk to
QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent*)", referenced
from:
      vtable for GraphicsWebViewin moc_qdeclarativewebview_p.o
  "QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent*)", referenced
from:
      vtable for GraphicsWebViewin moc_qdeclarativewebview_p.o
  "QWebFrame::url() const", referenced from:
      QDeclarativeWebView::pageUrlChanged()       in qdeclarativewebview.o
      QDeclarativeWebView::pageUrlChanged()       in qdeclarativewebview.o
      QDeclarativeWebView::pageUrlChanged()       in qdeclarativewebview.o
      QDeclarativeWebView::pageUrlChanged()       in qdeclarativewebview.o
  "QGraphicsWebView::setTiledBackingStoreFrozen(bool)", referenced from:
      QDeclarativeWebView::setRenderingEnabled(bool)   in
qdeclarativewebview.o
  "QWebPage::history() const", referenced from:
      QDeclarativeWebView::history() const in qdeclarativewebview.o
  "QWebHitTestResult::~QWebHitTestResult()", referenced from:
      QDeclarativeWebView::elementAreaAt(int, int, int, int) constin
qdeclarativewebview.o
      QDeclarativeWebView::elementAreaAt(int, int, int, int) constin
qdeclarativewebview.o
      GraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent*)        in
qdeclarativewebview.o
      GraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent*)        in
qdeclarativewebview.o


Any solutions for this??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110624/a637e693/attachment.html>


More information about the webkit-qt mailing list