From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6C139E01584 for ; Wed, 31 Jul 2013 20:03:49 -0700 (PDT) Received: by mail-ob0-f172.google.com with SMTP id er7so2931490obc.3 for ; Wed, 31 Jul 2013 20:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=y/+Y0/uFXc4EMhlE/eIpzfz+1NmPS3LW/M/DkNCFJcc=; b=acQhPF4gykkLFTOCprYFwWRlX9lekGDvnRoDr7iFiygE74nr1IVYo4UEpypS5ExgjU 9bzxg8JVU8kz5JhYPKNz7M6J6mgCjkGwjJWduFm/OzjSEUHFzzAu5oPZDTReEvaWuPd6 d+O6NsV9izIE39pm6n5FYPug3AMjyC1gFUmk3i56kXuhgIAG/KjA8/umHb8nNAM2q8m2 2bEEnG59YFpB5+S0NtdarmDHVToLVB1BnQy1/580CpVAhB+7bv5baCLnuRKmjpipp/Ei I4HdRpXD6bFN8RRbpan2vA/EfR2vD5wH/zQ72EB46Yihpn4rlNeUJEZjSyHY+eiC+kTo 6Ofg== MIME-Version: 1.0 X-Received: by 10.60.115.199 with SMTP id jq7mr68524829oeb.19.1375326228578; Wed, 31 Jul 2013 20:03:48 -0700 (PDT) Sender: otavio.salvador@gmail.com Received: by 10.182.232.166 with HTTP; Wed, 31 Jul 2013 20:03:48 -0700 (PDT) In-Reply-To: <51F803DA.8090008@boundarydevices.com> References: <1374085031-2116-1-git-send-email-otavio@ossystems.com.br> <1374085031-2116-8-git-send-email-otavio@ossystems.com.br> <51F803DA.8090008@boundarydevices.com> Date: Thu, 1 Aug 2013 00:03:48 -0300 X-Google-Sender-Auth: PH2zUpCvhgErNGkNthBCR5tGoTM Message-ID: From: Otavio Salvador To: Eric Nelson Cc: meta-freescale Mailing List Subject: Re: [meta-fsl-arm PATCH 8/8] qt4: Enable OpenGL ES2 support for i.MX6 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2013 03:03:50 -0000 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jul 30, 2013 at 3:20 PM, Eric Nelson wrote: > Hi all, > > > On 07/17/2013 11:17 AM, Otavio Salvador wrote: >> >> The Vivante libraries need some special linking as it has a more >> modular design which thus require a specific set of mkspec changes to >> make it to work. This change makes the linking to work when building >> against Vivante libraries for i.MX6 SoCs. >> >> >> > >> >> >> diff --git a/recipes-qt/qt4/qt4-x11-free_4.8.5.bbappend >> b/recipes-qt/qt4/qt4-x11-free_4.8.5.bbappend >> index 74bfb31..4c4d0c9 100644 >> --- a/recipes-qt/qt4/qt4-x11-free_4.8.5.bbappend >> +++ b/recipes-qt/qt4/qt4-x11-free_4.8.5.bbappend >> @@ -9,6 +9,7 @@ PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}" >> QT_GLFLAGS_mx5 = "-opengl es2 -openvg" >> QT_CONFIG_FLAGS_append_mx5 = " -I${STAGING_KERNEL_DIR}/include/" >> >> -DEPENDS_append_mx6 = " virtual/kernel" >> +DEPENDS_append_mx6 = " virtual/kernel virtual/libgles2" >> PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" >> -QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/" >> +QT_GLFLAGS_mx6 = "-opengl es2 -openvg" >> +QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/ -DLINUX=1 >> -DEGL_API_FB=1" >> diff --git a/recipes-qt/qt4/qt4/mx6/g++.conf >> b/recipes-qt/qt4/qt4/mx6/g++.conf > > > This patch seems to work perfectly for me, but I'm a bit confused > about what it actually enables in Qt. > > Neither the QGLWidget examples like hellogl_es2 or the QML-based > shadereffects demos seem to run. > > Is there a sample program that shows how to access OpenGL/ES from Qt? > > I'm trying to grok what the glue between glimagesink and a Qt > application should look like. I am adding Leonardo and Francisco, who did the tests on this, so they comment. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750