Looking fairly promising so far. Image size down from 280Mb to 90Mb and only Qt related stuff now seems to be in /usr/lib/
The font's seem to be missing though - QFontDatabase: Cannot find font directory /usr/lib/fonts - is Qt installed correctly? We won't need all the fonts in any case but would you expect them to have been pulled in automatically ? Here's what I now have in /usr/lib/libQt* -rwxr-xr-x root root 3157228 ./usr/lib/libQtCoreE.so.4.8.0 -rwxr-xr-x root root 481476 ./usr/lib/libQtDBusE.so.4.8.0 -rwxr-xr-x root root 3571644 ./usr/lib/libQtDeclarativeE.so.4.8.0 -rwxr-xr-x root root 9643544 ./usr/lib/libQtGuiE.so.4.8.0 -rwxr-xr-x root root 1231712 ./usr/lib/libQtNetworkE.so.4.8.0 -rwxr-xr-x root root 2507000 ./usr/lib/libQtScriptE.so.4.8.0 -rwxr-xr-x root root 217564 ./usr/lib/libQtSqlE.so.4.8.0 -rwxr-xr-x root root 247056 ./usr/lib/libQtXmlE.so.4.8.0 -rwxr-xr-x root root 4412572 ./usr/lib/libQtXmlPatternsE.so.4.8.0 Total approx 25Mb there. Pretty sure I need the first 3, but not sure about the rest. Does that look about right to you size wise ? We're just trying to tie down flash sizes at the moment and want to get a fairly accurate estimate for Qt. I guess also at some point we might want to switch to Qt5. Is that comparable in size ? On 10 June 2013 13:17, Paul Eggleton <paul.eggle...@linux.intel.com> wrote: > On Monday 10 June 2013 12:19:48 John Stirling wrote: > > 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 ? > > Apart from plugins and anything else that your application doesn't get > directly linked to, yes. > > > I am not entirely sure on the 'inherit qt4e' line. > > You do want this here, yes. > > > SRC_URI = "git://${SOURCE_REPO}/git/${PN}.git;protocol=ssh;tag=${PV}" > > I think you probably should specify SRCREV here, even if it's SRCREV = > "${AUTOREV}" to build the latest version on the specified branch. For tags > that > won't change, typically we recommend that you specify the full sha1 hash in > SRCREV and then the system knows it doesn't need to query the git server to > get the current hash corresponding to the tag. > > > PROVIDES = "${PN}_${PV}" > > This should not be necessary. > > > DEPENDS = "qt4-embedded" > > This is already done for you by inheriting qt4e. > > > RPROVIDES = "qtui_${PV}" > > This should not be necessary either. > > > PACKAGES="${PN}" > > Unless you have a good reason to do this I would recommend not doing so; > the > standard package splitting should work for most situations and for those > where > it needs to be tweaked slightly that can be done fairly easily. > > > FILES_${PN} += "/root/qtui /usr/share/reciva/qml/qtui > > ${sysconfdir}/dbus-1/system.d/" > > Typically you would install binaries such as this to ${bindir} rather than > /root. > > 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