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 <[email protected]>
Cc: [email protected]
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 <[email protected]>
> *Cc:* [email protected]
> *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
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



      
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to