Hello everyone, I recently got the dizzy branch and tried to do an image (fs-image-multimedia-full). I added the qt5-meta layer. What I saw was the following error while compiling qtmultimedia: | /opt/yocto-freescale/mx6sabrelite/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtmultimedia/5.3.2-r0/qtmultimedia-opensource-src-5.3.2/src/gsttools/gstvideoconnector.c:467:32: error: 'GST_PAD_PROBE_DROP' undeclared (first use in this function) | return element->relinked ? GST_PAD_PROBE_DROP : GST_PAD_PROBE_OK; | ^ | /opt/yocto-freescale/mx6sabrelite/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtmultimedia/5.3.2-r0/qtmultimedia-opensource-src-5.3.2/src/gsttools/gstvideoconnector.c:467:32: note: each undeclared identifier is reported only once for each function it appears in | /opt/yocto-freescale/mx6sabrelite/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtmultimedia/5.3.2-r0/qtmultimedia-opensource-src-5.3.2/src/gsttools/gstvideoconnector.c:467:53: error: 'GST_PAD_PROBE_OK' undeclared (first use in this function) | return element->relinked ? GST_PAD_PROBE_DROP : GST_PAD_PROBE_OK; | ^ | /opt/yocto-freescale/mx6sabrelite/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtmultimedia/5.3.2-r0/qtmultimedia-opensource-src-5.3.2/src/gsttools/gstvideoconnector.c: In function 'gst_video_connector_handle_sink_event': | /opt/yocto-freescale/mx6sabrelite/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtmultimedia/5.3.2-r0/qtmultimedia-opensource-src-5.3.2/src/gsttools/gstvideoconnector.c:623:11: error: 'parent' undeclared (first use in this function) | (void)parent;
I looks like the qtmultimedia tries to use gstreamer1.0 but it shouldn't I have on my local.conf file PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer010 " What I did in the end was following the instructions on this page: https://community.freescale.com/docs/DOC-101118 -----------------------------------------------------QUOTE-------------------------------------------------------------------- Alma Oct 1, 2014 1:34 PM<https://community.freescale.com/docs/DOC-101118#comment-14041> (in response to Ramakanth<https://community.freescale.com/docs/DOC-101118#comment-13965>) Adding gstreamer1.0 support break qtmultimedia recipe. If you don't use gstreamer1.0 you must replace your meta-qt5/recipes-qt/qt5/qtmultimedia.inc by this code (and rebuild) require qt5.inc DEPENDS += "qtdeclarative alsa-lib" PACKAGECONFIG ??= "" PACKAGECONFIG[openal] = ",,openal-soft" PACKAGECONFIG[gstreamer010] = ",,gstreamer gst-plugins-base" do_configure_prepend() { # disable openal test if it isn't enabled by PACKAGECONFIG sed -i 's/^qtCompileTest(openal)/OE_OPENAL_ENABLED:qtCompileTest(openal)/g' ${S}/qtmultimedia.pro # disable gstreamer-0.10 test if it isn't enabled by PACKAGECONFIG sed -i 's/^\( *\)qtCompileTest(gstreamer) {/\1OE_GSTREAMER010_ENABLED:qtCompileTest(gstreamer) {/g' ${S}/qtmultimedia.pro } EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'openal', 'CONFIG+=OE_OPENAL_ENABLED', '', d)}" EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'gstreamer010', 'CONFIG+=OE_GSTREAMER010_ENABLED', '', d)}" # older copyright year than what e.g. qtbase is using now LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e" --------------------------------------------------------END QUOTE------------------------------------------------------------ Is that "the right" thing to do? Or this will cause me some problems later? Regards, Mario ________________________________ Mario Rodriguez M.Sc., Software Architect Phone: +49 89 45 23 47 - 297 jambit GmbH Erika-Mann-Str. 63, 80636 M?nchen Phone: +49 89 45 23 47 - 0, Fax: +49 89 45 23 47 - 70 http://www.jambit.com where innovation works Gesch?ftsf?hrer: Peter F. Fellinger, Markus Hartinger Sitz: M?nchen; Registergericht: M?nchen, HRB 129139
-- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
