[webkit-dev] QWebElement not found in Qt 4.5.2
Ashok N N
nna_misc at yahoo.com
Wed Jul 22 03:51:21 PDT 2009
If I run the command explicitly at the command prompt linking to the .a instead of .lib, it works:
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
...\..\..\WebCore\defaultbuild\Release\lib\libQtWebKit4.a -lQtUiTools
-lQtXml4 -lQtGui4 -lQtCore4
But I have problem later when compiling release\tst_qwebframe.exe. I can ignore that for now.
However when I try to launch the QtLauncher.exe, it complains about the
entry point for the library QtWebKit.dll not being found.
Thanks
________________________________
From: Osztrogonac Csaba <oszi at inf.u-szeged.hu>
To: webkit-dev at lists.webkit.org
Sent: Wednesday, July 22, 2009 3:38:25 PM
Subject: Re: [webkit-dev] QWebElement not found in Qt 4.5.2
Hi,
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.
br,
Ossy
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?
_______________________________________________
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/874f3a93/attachment.html>
More information about the webkit-dev
mailing list