**** BEGIN LOGGING AT Tue Aug 18 02:59:58 2015 Aug 18 08:27:17 hi Aug 18 08:27:32 i've build a custom image for intel edison using yocto daisy Aug 18 08:27:45 now i want to integrate a very light custom build of qt5 Aug 18 08:27:58 so i added the meta-qt5 to my image Aug 18 08:28:25 but i'm failing to find how to set which options are being passed to configure script Aug 18 08:28:59 cause i need to disable ALL modules except QtCore, QtNetwork and QtConcurrent, and also i need to disable all GUI or media modules Aug 18 08:29:24 i have to tell Qt not to rely on X11, or GLES, or Webkit, or ALSA, or PulseAUdio, or Gstreamer etc Aug 18 08:29:34 minimal dependencies are enough for my use Aug 18 08:29:46 i already added IMAGE_INSTALL += "qtbase" Aug 18 08:30:25 but it won't be enough as qt base repository contains QtGui, which in its turn wants to link on opengl or x11 sutff, so i also need configure options to disable all of this Aug 18 08:30:54 i can't find where the configure script is being called b bitbake and which options are passed to it Aug 18 08:31:10 (obviously, i'm quite new at bitbake stuff) Aug 18 08:31:18 can anyone here help me please ? Aug 18 08:32:00 TheBootroo|home: probably the packageconfig stuff in https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase_git.bb bites you Aug 18 08:32:43 LetoThe2nd: what is this file ? i can't recognize the options in it ... Aug 18 08:33:01 i've built custom qt on PC a lot of times, but it's my first time with bitbake Aug 18 08:33:13 TheBootroo|home: so my first guess is to have a close look at what this extensive list does. Aug 18 08:33:32 TheBootroo|home:its the file that basically bakes qt5 base for you :) Aug 18 08:34:01 ok Aug 18 08:34:11 TheBootroo|home: these packageconfig options seem to be passed over to the configure depending on your distro settings etc. Aug 18 08:34:31 but as i'm not completely sure on the mechanisms, i'd suggest to start up reading there. Aug 18 08:34:42 morning all Aug 18 08:34:43 so if i want to scratch the major part of these options i could try adding _remove = "blablah" in my local.bb config ? Aug 18 08:35:11 TheBootroo|home: i don't think that this is a good idea for something so complicated as qt Aug 18 08:35:38 TheBootroo|home: I'd suggest setting the PACKAGECONFIG value outright, since you know exactly the list of options you want enabled Aug 18 08:35:51 rather than remove this, add that, etc. Aug 18 08:35:51 see also: http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#var-PACKAGECONFIG Aug 18 08:35:55 bluelightning: oh i can ? Aug 18 08:36:10 TheBootroo|home: yep... PACKAGECONFIG_pn-qtbase = "..." Aug 18 08:36:33 bluelightning: what does "pn" stands for, between PACKAGECONFIG and qtbase ? Aug 18 08:37:10 TheBootroo|home: package name (really recipe name, but we have PN / pn left over from the old days when we didn't make a distinction in terminology between recipes and packages) Aug 18 08:37:19 ok Aug 18 08:37:27 TheBootroo|home: easiest way is to modify your distro so DISTRO_FEATURES doesn't have "x11 opengl pulseaudio" Aug 18 08:37:41 TheBootroo|home: the underscore denotes a potential override, and pn- is an override that is applied only in the context of the specified recipe Aug 18 08:38:04 rburton1: .. which will bite you if you actually want those, but need qt only for some underlying infrastructure Aug 18 08:38:23 bluelightning: so between quotes i just put exaclty the same options as when i run configure.sh manually ? Aug 18 08:38:28 but then, thats indeed a constructed problem. Aug 18 08:38:29 LetoThe2nd: true depends on the need Aug 18 08:38:30 and nothing will overwrite it ? Aug 18 08:44:18 my first batch of options : -release -no-sm -nomake tools -nomake examples -nomake tests -no-accessibility -no-glib,glib-2.0 -qt-zlib -qt-pcre -no-eglfs -no-tslib -no-cups -dbus -no-xcb -no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -no-sql-oci -no-sql-tds -no-sql-db2 -sql-sqlite -no-xcursor -no-xinerama -no-xinput -no-xinput2 -no-xfixes -no-xrandr -no-xrender -no-xshape -no-xsync -no-xvideo -no-openvg -no-iconv -no-xkb -n Aug 18 08:44:28 that makes a lot of "no ***" Aug 18 08:44:48 but i need a really small Qt build, with no gui stuff at all, and no multimedia stuff Aug 18 08:45:23 just need qt core, qt network, qt threads/concurrent, qt sqlite maybe, qt json, qt xml, and qt IO stuff Aug 18 08:46:06 given that i only added qtbase to IMAGEINSTALL, BB won't try to fetch/compile qt quick or qt webkit or qt multimedia ? Aug 18 08:48:06 rburton1: am i right ? Aug 18 08:50:39 TheBootroo|home: no, options in the PACKAGECONFIG value match PACKAGECONFIG[