<div dir="ltr">Thanks -  i did read about pkg-config and it improved my understanding a little.<div><br></div><div style>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 style><br></div><div style>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">network.pro</a> has the QT_NO_OPENSSL define (without it as you mentioned there were SSL linking errors).</div>
<div style><br></div><div style>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 style><br></div><div style><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 style>Regards,</div><div style>Fayyaz</div><div style><br></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:0 0 0 .8ex;border-left:1px #ccc 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 class="HOEnZb"><div class="h5"><br>
On Mon, Jan 21, 2013 at 10:41 AM, fayyaz lodhi <<a href="mailto:fayyazkl@gmail.com">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">ipkiss@gmail.com</a>> wrote:<br>
>><br>
>> On Mon, Jan 21, 2013 at 12:11 AM, Fayyaz Khan <<a href="mailto:fayyazkl@gmail.com">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>