<div>Hi Paul,</div><div><br></div><div>Thanks for the reply.</div><div><br></div><div>The Qt application (qtui) is compiled and has some C++, some QML and needs to use dbus. I am kicking it off via &#39;./qtui -qws&#39;. </div>
<div><br></div><div>So basically if I had this -</div><div><br></div><div>IMAGE_INSTALL += &quot; \<br>qt4-embedded \<br>qtui \<br>&quot;<br></div><div><br></div><div>You suggest just cutting it down to </div><div><br></div>
<div><div>IMAGE_INSTALL += &quot; \<br>qtui \<br>&quot;<br></div></div><div>and it should work itself out ?</div><div><br></div><div><a href="http://qtui.bb">qtui.bb</a> is -</div><div>I am not entirely sure on the &#39;inherit qt4e&#39; line. If there are any glaring errors here let me know. I&#39;ll kick off a build in the meantime.</div>
<div><br></div><div><div>SRC_URI = &quot;git://${SOURCE_REPO}/git/${PN}.git;protocol=ssh;tag=${PV}&quot;</div><div>LICENSE=&quot;CLOSED&quot;</div><div>PROVIDES = &quot;${PN}_${PV}&quot;</div><div>DEPENDS = &quot;qt4-embedded&quot;</div>
<div>S = &quot;${WORKDIR}/git&quot;</div><div>RPROVIDES = &quot;qtui_${PV}&quot;</div><div>PACKAGES=&quot;${PN}&quot;</div><div>FILES_${PN} += &quot;/root/qtui /usr/share/reciva/qml/qtui ${sysconfdir}/dbus-1/system.d/&quot;</div>
<div><br></div><div>inherit qt4e</div><div><br></div><div>do_compile() {</div><div>  cd ${S}</div><div>  ./rebuild</div><div>}</div><div><br></div><div>do_install() {</div><div>  install -d ${D}/usr/share/reciva/</div><div>
  install -d ${D}/usr/share/reciva/qml/</div><div>  install -d ${D}/usr/share/reciva/qml/qtui/</div><div>  install -d ${D}/root/</div><div>  install -d ${D}/${sysconfdir}/</div><div>  install -d ${D}/${sysconfdir}/dbus-1/</div>
<div>  install -d ${D}/${sysconfdir}/dbus-1/system.d/</div><div><br></div><div>  install -m 0755 ${S}/qtui ${D}/root/</div><div>  install -m 0755 ${S}/qml/qtui/* ${D}/usr/share/reciva/qml/qtui/</div><div><br></div><div>  # So that qtui can use dbus system bus</div>
<div>  install -m 0644 ${S}/dbus_config/qtui.conf ${D}/${sysconfdir}/dbus-1/system.d/</div><div>}</div></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On 10 June 2013 11:55, 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">Hi John,<br>
<div><div class="h5"><br>
On Monday 10 June 2013 11:31:26 John Stirling wrote:<br>
&gt; I&#39;ve successfully built qt4-embedded (oe-core, denzil, beaglebone) and have<br>
&gt; got a Qt/QML application running (on a beaglebone)<br>
&gt;<br>
&gt; The image size is quite big however and I notice there a load of<br>
&gt; examples/demos etc that I don&#39;t need on the filesystem.<br>
&gt;<br>
&gt; I presume I am probably just building the wrong thing ? Can someone advise<br>
&gt; the recommended way to get Qt built without all the demos etc  ?<br>
&gt;<br>
&gt; This is what I added to our image -<br>
&gt;<br>
&gt; IMAGE_INSTALL += &quot; \<br>
&gt;   qt4-embedded \<br>
&gt;   &quot;<br>
<br>
</div></div>It&#39;s not what you&#39;re building that&#39;s the problem, but the package you&#39;re<br>
selecting to go into the image. The &quot;qt4-embedded&quot; package will pull in all of<br>
the Qt/Embedded packages, which probably isn&#39;t what you want. Assuming your Qt<br>
application is compiled rather than pure QML, most of the time you can get<br>
away with only installing your Qt application - the Qt libraries that it uses<br>
will be installed automatically as dependencies. Then the only thing you will<br>
need to install as far as Qt is concerned are any plugins (database, image,<br>
etc.). You may also want qt4-embedded-qml-plugins and qt4-embedded-qmlviewer<br>
depending on how you start your application.<br>
<br>
Cheers,<br>
Paul<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<br>
Paul Eggleton<br>
Intel Open Source Technology Centre<br>
</font></span></blockquote></div><br></div>