<div dir="ltr">Hi Olivier,<div><br></div><div>Resolved finally!<div><br></div><div style>Turns out inclusion of library -lws2_32 was the missing requirement in <a href="http://QtNetwork.pc.in">QtNetwork.pc.in</a> file.</div>
<div style><br></div><div style>I copied from <a href="http://QtGui.pc.in">QtGui.pc.in</a> which didn't contain this lib and i thought -lwsock32 which was already there should be sufficient.</div><div style><br></div>
<div style>However, adding -llws2_32 to this and then make .qt4 resolved the build errors.<br></div><div style><br></div><div style>I found this lib mentioned in qmake.conf</div><div style><br></div><div style>Thank you so much for your time and consistent support.</div>
<div style><br></div><div><div style>Regards,</div><div style>Fayyaz</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 22, 2013 at 11:39 AM, fayyaz lodhi <span dir="ltr"><<a href="mailto:fayyazkl@gmail.com" target="_blank">fayyazkl@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Thanks -  i did read about pkg-config and it improved my understanding a little.<div>
<br></div><div>I was already deleting qt4 folder and doing remake. However, didn't delete .qt4 file. (I didn't know actually that one existed). Also in the QtNetwork.pro file i changed the order of including QtNetwork lib i.e. put it in front of QtGui and QtCore.</div>


<div><br></div><div>The earlier make errors were gone after this i.e. vlc is finding the package now. However, some win32 specific libraries are still not correctly found and generate errors. I have verified that the generated qt4/src/network/<a href="http://network.pro" target="_blank">network.pro</a> has the QT_NO_OPENSSL define (without it as you mentioned there were SSL linking errors).</div>


<div><br></div><div>I am currently trying to figure out the cause of these errors. Thank you once again for your help. I am pasting there here so this might help some one latter as well OR may be if you have any idea about these, that would be great.</div>


<div><br></div><div><div>/VLC/TestCC/vlc-git-LinuxCompiledWork/vlc/contrib/i686-w64-mingw32/lib/libQtNetwork.a(qnativesocketengine_win.o):qnativesocketengine_win.cpp:(.text+0x13d): undefined reference to `__imp__WSASocketW@24'</div>


<div>/VLC/TestCC/vlc-git-LinuxCompiledWork/vlc/contrib/i686-w64-mingw32/lib/libQtNetwork.a(qnativesocketengine_win.o):qnativesocketengine_win.cpp:(.text+0x1dc): undefined reference to `__imp__WSAIoctl@36'</div><div>/VLC/TestCC/vlc-git-LinuxCompiledWork/vlc/contrib/i686-w64-mingw32/lib/libQtNetwork.a(qnativesocketengine_win.o):qnativesocketengine_win.cpp:(.text+0x3a0): undefined reference to `__imp__WSAIoctl@36'</div>


<div>/VLC/TestCC/vlc-git-LinuxCompiledWork/vlc/contrib/i686-w64-mingw32/lib/libQtNetwork.a(qnativesocketengine_win.o):qnativesocketengine_win.cpp:(.text+0x4a8): undefined reference to `__imp__WSAIoctl@36'</div><div>/VLC/TestCC/vlc-git-LinuxCompiledWork/vlc/contrib/i686-w64-mingw32/lib/libQtNetwork.a(qnativesocketengine_win.o):qnativesocketengine_win.cpp:(.text+0x7ae): undefined reference to `__imp__WSANtohs@12'</div>


<div>/VLC/TestCC/vlc-git-LinuxCompiledWork/vlc/contrib/i686-w64-mingw32/lib/libQtNetwork.a(qnativesocketengine_win.o):qnativesocketengine_win.cpp:(.text+0x840): undefined reference to `__imp__WSANtohs@12'</div><div>/VLC/TestCC/vlc-git-LinuxCompiledWork/vlc/contrib/i686-w64-mingw32/lib/libQtNetwork.a(qnativesocketengine_win.o):qnativesocketengine_win.cpp:(.text+0x86f): undefined reference to `__imp__WSANtohl@12'</div>


<div><br></div></div><div>Regards,</div><div>Fayyaz</div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 21, 2013 at 11:02 PM, Olivier Teuliere <span dir="ltr"><<a href="mailto:ipkiss@gmail.com" target="_blank">ipkiss@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">After changing rules.mak, remove the qt4 folder and the .qt4 file,<br>

then rebuild (make .qt4).<br>
If vlc does not auto-detect it I cannot help you, since I used the qt<br>
contrib for another project. Read a bit about pkg-config to get you<br>
started...<br>
<div><div><br>
On Mon, Jan 21, 2013 at 10:41 AM, fayyaz lodhi <<a href="mailto:fayyazkl@gmail.com" target="_blank">fayyazkl@gmail.com</a>> wrote:<br>
> Thank you Olivier.<br>
><br>
> I followed as it is (i.e. did all that you mentioned), along with QtNetwork<br>
> enabled in my main vlc/<a href="http://confiugre.ac" target="_blank">confiugre.ac</a> and kept getting the QtNetwork not found<br>
> error as soon as i started /extras/package/win32/configure.sh<br>
><br>
> Then i removed the QtNetwork from <a href="http://configure.ac" target="_blank">configure.ac</a>.<br>
><br>
> Do i need to only remake qt4 in contribs OR do i need to remake whole<br>
> contribs too since i modified rules.mak?<br>
><br>
> I did remake qt4 by cd into qt4 and make. Then i followed the usual<br>
> procedure. It failed in the make with failing to locate<br>
> QtNetworkAccessManager, QNetworkReplay, QUrl etc. which indicates it was<br>
> still not able to link with QtNetwork.<br>
><br>
> I only remake qt4 in contribs for this. If i try remaking in contrib/win32,<br>
> i get the following error<br>
><br>
> libtool: link: symbol file `harfbuzz.def' does not exist<br>
><br>
><br>
><br>
><br>
> On Mon, Jan 21, 2013 at 11:01 AM, Olivier Teuliere <<a href="mailto:ipkiss@gmail.com" target="_blank">ipkiss@gmail.com</a>> wrote:<br>
>><br>
>> On Mon, Jan 21, 2013 at 12:11 AM, Fayyaz Khan <<a href="mailto:fayyazkl@gmail.com" target="_blank">fayyazkl@gmail.com</a>> wrote:<br>
>> > i don't see any references to .pro files in rules.mak. Patch of which<br>
>> > file?<br>
>> > "Other ones" you mean like the others in INSTALLING PKGCONFIG FILES<br>
>> > where i<br>
>> > add "Network"?<br>
>><br>
>> Other ones, like the other .patch files in contrib/src/qt4 (referenced<br>
>> near the beginning of rules.mak).<br>
>><br>
>> Best regards,<br>
>> --<br>
>> Olivier<br>
>><br>
>> _______________________________________________<br>
>> vlc-devel mailing list<br>
>> To unsubscribe or modify your subscription options:<br>
>> <a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> vlc-devel mailing list<br>
> To unsubscribe or modify your subscription options:<br>
> <a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
><br>
<br>
<br>
<br>
--<br>
Olivier<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>