<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><br>
If I run the command explicitly at the command prompt linking to the .a instead of .lib, it works:<br>
<br>
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&nbsp;
-L"defaultbuild\Release\lib" -L"c:\Qt\4.5.2\lib" -lmingw32 -lqtmain
...\..\..\WebCore\defaultbuild\Release\lib\libQtWebKit4.a -lQtUiTools
-lQtXml4 -lQtGui4 -lQtCore4<br>
<br>
But I have problem later when compiling release\tst_qwebframe.exe. I can ignore that for now.<br>
<br>
However when I try to launch the QtLauncher.exe, it complains about the
entry point for the library QtWebKit.dll not being found.</div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>Thanks<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Osztrogonac Csaba &lt;oszi@inf.u-szeged.hu&gt;<br><b><span style="font-weight: bold;">To:</span></b> webkit-dev@lists.webkit.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, July 22, 2009 3:38:25 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [webkit-dev] QWebElement not found in Qt 4.5.2<br></font><br>
Hi,<br><br>I am working on Linux, and now I see you are working on<br>Windows with MinGw. I will try to build with your config,<br>and then answer you approximately in an hour.<br><br>br,<br>Ossy<br><br>Ashok N N wrote:<br>&gt; In <a target="_blank" href="http://WebCore.pro">WebCore.pro</a>, the library apparently being created is libQtWebKit.lib:<br>&gt;&nbsp;  TEMPLATE = lib<br>&gt;&nbsp;  TARGET = QtWebKit<br>&gt; <br>&gt; But when linking the library is QtWebKit4. And in fact I can find libQtWebKit4.a but not QtWebKit.lib or QtWebKit.a.<br>&gt; <br>&gt; 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&nbsp; -L"defaultbuild\Release\lib" -L"c:\Qt\4.5.2\lib" -lmingw32 -lqtmain -lQtWebKit4 -lQtUiTools -lQtXml4 -lQtGui4 -lQtCore4<br>&gt; release/main.o(.text+0xdf3):main.cpp: undefined reference to
 `_imp___ZN8QWebView18guessUrlFromStringERK7QString'<br>&gt; <br>&gt; And is the command above trying to find libQtWebKit4.lib instead of libQtWebKit4.a?<br>_______________________________________________<br>webkit-dev mailing list<br><a ymailto="mailto:webkit-dev@lists.webkit.org" href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br><span><a target="_blank" href="http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev">http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev</a></span><br></div></div></div><br>

      </body></html>