<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 './qtui -qws'. </div>
<div><br></div><div>So basically if I had this -</div><div><br></div><div>IMAGE_INSTALL += " \<br>qt4-embedded \<br>qtui \<br>"<br></div><div><br></div><div>You suggest just cutting it down to </div><div><br></div>
<div><div>IMAGE_INSTALL += " \<br>qtui \<br>"<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 'inherit qt4e' line. If there are any glaring errors here let me know. I'll kick off a build in the meantime.</div>
<div><br></div><div><div>SRC_URI = "git://${SOURCE_REPO}/git/${PN}.git;protocol=ssh;tag=${PV}"</div><div>LICENSE="CLOSED"</div><div>PROVIDES = "${PN}_${PV}"</div><div>DEPENDS = "qt4-embedded"</div>
<div>S = "${WORKDIR}/git"</div><div>RPROVIDES = "qtui_${PV}"</div><div>PACKAGES="${PN}"</div><div>FILES_${PN} += "/root/qtui /usr/share/reciva/qml/qtui ${sysconfdir}/dbus-1/system.d/"</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"><<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>></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>
> I've successfully built qt4-embedded (oe-core, denzil, beaglebone) and have<br>
> got a Qt/QML application running (on a beaglebone)<br>
><br>
> The image size is quite big however and I notice there a load of<br>
> examples/demos etc that I don't need on the filesystem.<br>
><br>
> I presume I am probably just building the wrong thing ? Can someone advise<br>
> the recommended way to get Qt built without all the demos etc ?<br>
><br>
> This is what I added to our image -<br>
><br>
> IMAGE_INSTALL += " \<br>
> qt4-embedded \<br>
> "<br>
<br>
</div></div>It's not what you're building that's the problem, but the package you're<br>
selecting to go into the image. The "qt4-embedded" package will pull in all of<br>
the Qt/Embedded packages, which probably isn'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>