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