[webkit-dev] QWebElement not found in Qt 4.5.2

Ashok N N nna_misc at yahoo.com
Wed Jul 22 02:56:47 PDT 2009


Thanks Ossy.

In WebCore.pro, the library apparently being created is libQtWebKit.lib:
  TEMPLATE = lib
  TARGET = QtWebKit

But when linking the library is QtWebKit4. And in fact I can find libQtWebKit4.a but not QtWebKit.lib or QtWebKit.a.

g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o ..\..\..\bin\QtLauncher.exe release/main.o  -L"defaultbuild\Release\lib" -L"c:\Qt\4.5.2\lib" -lmingw32 -lqtmain -lQtWebKit4 -lQtUiTools -lQtXml4 -lQtGui4 -lQtCore4
release/main.o(.text+0xdf3):main.cpp: undefined reference to `_imp___ZN8QWebView18guessUrlFromStringERK7QString'

And is the command above trying to find libQtWebKit4.lib instead of libQtWebKit4.a?

thanks,
ashok




________________________________
From: Osztrogonac Csaba <oszi at inf.u-szeged.hu>
Cc: webkit-dev at lists.webkit.org
Sent: Wednesday, July 22, 2009 3:06:22 PM
Subject: Re: [webkit-dev] QWebElement not found in Qt 4.5.2

Hi,

qwebelement.cpp build into WebCore library: libQtWebKit.so ,
because in WebCore/WebCore.pro SOURCES contains qwebelement.cpp.

br,
Ossy

Ashok N N wrote:
> Thanks Ossy. Can you tell me what library is created from that? My problem could be a linking issue with the required library not being linked to.
> 
> ashok
> 
> ------------------------------------------------------------------------
> *From:* Osztrogonac Csaba <oszi at inf.u-szeged.hu>
> *Cc:* webkit-dev at lists.webkit.org
> *Sent:* Wednesday, July 22, 2009 1:00:38 PM
> *Subject:* Re: [webkit-dev] QWebElement not found in Qt 4.5.2
> 
> Hi,
> 
> I am using WebKit rev 46156 with Qt 4.5.2 and it works
> correctly. Here qwebelement.h and cpp can be found in
> Webkit's webkit/qt/Api directory not in Qt.
_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090722/8ce35d2e/attachment.html>


More information about the webkit-dev mailing list