<div><div>Thanks Paul. Fonts all ok now. </div><div><br></div><div>For the benefit of anyone else listening here&#39;s what I ended up with</div><div><br></div><div>IMAGE_INSTALL += &quot; \</div><div>  qt4-embedded-fonts-ttf-vera \</div>
<div>  qtui \</div><div>  &quot;</div></div><div><br></div><div>ttf-vera fonts are about 500k in total, but could be cut down to ~100k in my case as I don&#39;t really need italics (eg just use Vera.ttf and VeraBd.ttf)</div>
<div><br></div><div>Qt libraries were about 25Mb in total which I expect could be reduced a bit, but think I have enough information for now.</div><div><br></div><div><br></div><br><div class="gmail_quote">On 10 June 2013 15:03, Paul Eggleton <span dir="ltr">&lt;<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Monday 10 June 2013 14:46:57 John Stirling wrote:<br>
&gt; Looking fairly promising so far. Image size down from 280Mb to 90Mb and<br>
&gt; only Qt related stuff now seems to be in /usr/lib/<br>
&gt;<br>
&gt; The font&#39;s seem to be missing though -<br>
&gt; QFontDatabase: Cannot find font directory /usr/lib/fonts - is Qt installed<br>
&gt; correctly?<br>
&gt; We won&#39;t need all the fonts in any case but would you expect them to have<br>
&gt; been pulled in automatically ?<br>
<br>
</div>Right, for Qt/E if you are displaying any text you&#39;ll need to explicitly<br>
install the package for this since nothing depends upon it. You can install<br>
the qt4-embedded-fonts package which brings in all fonts that are distributed<br>
with Qt, or alternatively you can install only the fonts you want (qt4-<br>
embedded-fonts-ttf-vera, etc.)<br>
<div class="im"><br>
&gt; Pretty sure I need the first 3, but not sure about the rest. Does that look<br>
&gt; about right to you size wise ? We&#39;re just trying to tie down flash sizes at<br>
&gt; the moment and want to get a fairly accurate estimate for Qt.<br>
<br>
</div>This looks reasonable to me. Note however if you start changing some of the<br>
build-time configuration options for Qt you may be able to disable a few things<br>
you don&#39;t need. Have a look at Qt&#39;s configuration options [1]. You can see<br>
exactly which options are being used to build Qt with:<br>
<br>
bitbake -e | grep &quot;^QT_CONFIG_FLAGS=&quot;<br>
<br>
If you search for QT_CONFIG_FLAGS under meta/recipes-qt/qt4/ you&#39;ll see how<br>
this variable gets set.<br>
<div class="im"><br>
&gt; I guess also at some point we might want to switch to Qt5. Is that<br>
&gt; comparable in size ?<br>
<br>
</div>Not sure I&#39;m afraid, although I believe it is more modular so in theory you<br>
should be able to cut out more pieces you don&#39;t need.<br>
<br>
Cheers,<br>
Paul<br>
<br>
[1] <a href="http://qt-project.org/doc/qt-4.8/configure-options.html" target="_blank">http://qt-project.org/doc/qt-4.8/configure-options.html</a><br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
<br>
Paul Eggleton<br>
Intel Open Source Technology Centre<br>
</div></div></blockquote></div><br>