<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" style="font: inherit;"><p>Yes<br><br><br></p>
<p>Sent from Yahoo! Mail on Android</p>
</td></tr></table> <div id="_origMsg_">
<div style="font-family:arial, helvetica, sans-serif:font-size:10pt">
<br />
<div style="font-family:times new roman, new york, times, serif;font-size:12pt">
<font size="2" face="Tahoma">
<hr size="1">
<b>
<span style="font-weight:bold;">From:</span>
</b>
Robert Schuster <r.schuster@tarent.de>; <br>
<b>
<span style="font-weight:bold:">To:</span>
</b>
<necessitas-devel@kde.org>; <br>
<b>
<span style="font-weight:bold:">Subject:</span>
</b>
Re: Found out the problem with building qt android platform plugins... <br>
<b>
<span style="font-weight:bold;">Sent:</span>
</b>
Mon, Jul 18, 2011 10:49:42 AM <br>
</font>
<br>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" style="font:inherit;">Hi,<BR><BR>Am 18.07.2011 10:18, schrieb BogDan:<BR>> Hi Ray,<BR>> <BR>> I replaced "QTBUILDLIBS=$$find(target.path, "/files/qt/")<BR>> isEmpty( QTBUILDLIBS ): {" with isEmpty(QT_BUILD_TREE) which should be defined when you are building Qt.<BR>> <BR>> I'm doing some test and I'll push my modifications.<BR>> <BR>> Cheers,<BR>> BogDan.<BR>> <BR>> P.S. I also added x86 support for android ;-)<BR>Does that mean you also added NDK v6 support?<BR><BR>Btw: Android 3.2 + SDK is out, too ... :)<BR><BR>Regards,<BR>Robert<BR><BR>> <BR>> <BR>> ----- Original Message -----<BR>>> From: mingw android <<a ymailto="mailto:mingw.android@gmail.com" href="javascript:return">mingw.android@gmail.com</a>><BR>>> To: BogDan <<a ymailto="mailto:bog_dan_ro@yahoo.com" href="javascript:return">bog_dan_ro@yahoo.com</a>>; <a
ymailto="mailto:necessitas-devel@kde.org" href="javascript:return">necessitas-devel@kde.org</a><BR>>> Cc: <BR>>> Sent: Monday, July 18, 2011 11:08 AM<BR>>> Subject: Re: Found out the problem with building qt android platform plugins...<BR>>><BR>>> Hi BogDan,<BR>>><BR>>> The issue isn't whether they need android specific libraries, the<BR>>> thing is, when we're building Android Qt itself, we've got to get all<BR>>> of the plugins (android or not) to go down the path in qt.prf where we<BR>>> check if the path contains files/qt and if so don't modify it to<BR>>> /libs/armeabi*:<BR>>><BR>>> QTBUILDLIBS=$$find(target.path, "/files/qt/")<BR>>> isEmpty( QTBUILDLIBS ): {<BR>>> CONFIG(armeabi-v7a) : target.path=/libs/armeabi-v7a/<BR>>>
else : target.path=/libs/armeabi/<BR>>> }<BR>>><BR>>> I think it's more proper to do QT += instead of QT = as that's what<BR>>> most of them do anyway and it seems useful to be able to know (e.g. in<BR>>> qt.prf) that they're being built for android.<BR>>><BR>>> However, so long as you can get all of the plugins to hit my<BR>>> QTBUILDLIBS check and not modify the path in that case, then it'll be<BR>>> fine.<BR>>><BR>>> Cheers,<BR>>><BR>>> Ray.<BR>>><BR>>> On Mon, Jul 18, 2011 at 8:31 AM, BogDan <<a ymailto="mailto:bog_dan_ro@yahoo.com" href="javascript:return">bog_dan_ro@yahoo.com</a>> wrote:<BR>>>> Hi Ray,<BR>>>><BR>>>> Hmm all (except platform plugin) Qt plugins don't need any android <BR>>> specific
libraries,<BR>>>> so your change is not needed, I'll try to fix it today.<BR>>>><BR>>>> BogDan.<BR>>>><BR>>>><BR>>>> ----- Original Message -----<BR>>>>> From: mingw android <<a ymailto="mailto:mingw.android@gmail.com" href="javascript:return">mingw.android@gmail.com</a>><BR>>>>> To: <a ymailto="mailto:necessitas-devel@kde.org" href="javascript:return">necessitas-devel@kde.org</a><BR>>>>> Cc:<BR>>>>> Sent: Sunday, July 17, 2011 2:01 AM<BR>>>>> Subject: Found out the problem with building qt android platform <BR>>> plugins...<BR>>>>><BR>>>>> An update on this:<BR>>>>><BR>>>>> I was being stupid about the armeabi/armeabi-v7a folder thing; we have<BR>>>>> separate packages for different abis, but I think we
could talk about<BR>>>>> not doing this, instead having a leaf folder for each different abi?<BR>>>>><BR>>>>> I've committed and pushed the fix for building android qt plugins<BR>>>>> (qt.prf) with a commented out block which would achieve leaf folders<BR>>>>> per abi (for the plugins anyway, of course there'd be a good few <BR>>> other<BR>>>>> issues), feel free to remove this commented out block altogether if<BR>>>>> you think it's untidy to keep it there.<BR>>>>><BR>>>>> When I was testing this, I noticed that some plugins weren't being<BR>>>>> detected as android and so wouldn't hit that block, this was <BR>>> because<BR>>>>> those plugins overwrote QT = android with other stuff. I changed them<BR>>>>> to use QT += instead. This
shouldn't cause any problems. I'll <BR>>> do more<BR>>>>> testing on other platforms to make sure everything is ok.<BR>>>>><BR>>>>> Cheers,<BR>>>>><BR>>>>> Ray.<BR>>>>> _______________________________________________<BR>>>>> Necessitas-devel mailing list<BR>>>>> <a ymailto="mailto:Necessitas-devel@kde.org" href="javascript:return">Necessitas-devel@kde.org</a><BR>>>>> <a href="https://mail.kde.org/mailman/listinfo/necessitas-devel" target=_blank >https://mail.kde.org/mailman/listinfo/necessitas-devel</a><BR>>>>><BR>>>><BR>>><BR>> _______________________________________________<BR>> Necessitas-devel mailing list<BR>> <a ymailto="mailto:Necessitas-devel@kde.org" href="javascript:return">Necessitas-devel@kde.org</a><BR>> <a
href="https://mail.kde.org/mailman/listinfo/necessitas-devel" target=_blank >https://mail.kde.org/mailman/listinfo/necessitas-devel</a><BR><BR><BR>-- <BR>tarent solutions GmbH<BR>Thiemannstr. 36 a, D-12059 Berlin • <a href="http://www.tarent.de/" target=_blank >http://www.tarent.de/</a><BR>Tel: +49 30 5682943-30 • Fax: fax +49 228 52675-25<BR><BR>Rochusstraße 2-4, D-53123 Bonn • <a href="http://www.tarent.de/" target=_blank >http://www.tarent.de/</a><BR>Tel: +49 228 52675-0 • Fax: +49 228 52675-25<BR>HRB AG Bonn 5168 • USt-ID (VAT): DE122264941<BR>Geschäftsführer: Boris Esser, Elmar Geese<BR><BR><BR></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>