[webkit-dev] QWebElement not found in Qt 4.5.2

Osztrogonac Csaba oszi at inf.u-szeged.hu
Wed Jul 22 03:08:25 PDT 2009


I am working on Linux, and now I see you are working on
Windows with MinGw. I will try to build with your config,
and then answer you approximately in an hour.


Ashok N N wrote:
> 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?

More information about the webkit-dev mailing list