All of lore.kernel.org
 help / color / mirror / Atom feed
* imx-3.10.31-1.1.0_beta : QT opengl dependency
@ 2014-10-07 10:55 Yannick Calmettes
  2014-10-09 21:37 ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: Yannick Calmettes @ 2014-10-07 10:55 UTC (permalink / raw)
  To: meta-freescale

Dear all,

I want to remove opengl support to my machine so I had 
DISTRO_FEATURES_remove =  "opengl " to my local.conf (i'm using poky 
distro).
But by doing this all QT packages raise me an error because they do not 
find provider for opengl package.
It seems that the problem comes from 
"meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend" that add 
support for opengl without test DISTRO_FEATURES :

PACKAGECONFIG_GL_mx6 = "gles2"
PACKAGECONFIG_append_mx6 = " tslib icu examples"
QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', 
' -no-eglfs', ' -eglfs', d)}"

What is the best (and clean) way to correct this ?

Regards,

Yannick
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: imx-3.10.31-1.1.0_beta : QT opengl dependency
  2014-10-07 10:55 imx-3.10.31-1.1.0_beta : QT opengl dependency Yannick Calmettes
@ 2014-10-09 21:37 ` Otavio Salvador
  2014-10-10  7:33   ` Yannick Calmettes
  0 siblings, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2014-10-09 21:37 UTC (permalink / raw)
  To: Yannick Calmettes; +Cc: meta-freescale@yoctoproject.org

On Tue, Oct 7, 2014 at 7:55 AM, Yannick Calmettes
<yannick.calmettes@analogway.com> wrote:
> I want to remove opengl support to my machine so I had
> DISTRO_FEATURES_remove =  "opengl " to my local.conf (i'm using poky
> distro).
> But by doing this all QT packages raise me an error because they do not find
> provider for opengl package.
> It seems that the problem comes from
> "meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend" that add support
> for opengl without test DISTRO_FEATURES :
>
> PACKAGECONFIG_GL_mx6 = "gles2"
> PACKAGECONFIG_append_mx6 = " tslib icu examples"
> QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', '
> -no-eglfs', ' -eglfs', d)}"
>
> What is the best (and clean) way to correct this ?

You need to check if opengl is on distro features when passing -eglfs.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: imx-3.10.31-1.1.0_beta : QT opengl dependency
  2014-10-09 21:37 ` Otavio Salvador
@ 2014-10-10  7:33   ` Yannick Calmettes
  2014-10-10 12:15     ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: Yannick Calmettes @ 2014-10-10  7:33 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

Hi Octavio,

I've removed OpenGL from Distro because I don't want to use 3D 
accelerator. But it do not succeed to build QTBase without it.

Yannick
**
Le 09/10/2014 23:37, Otavio Salvador a écrit :
> On Tue, Oct 7, 2014 at 7:55 AM, Yannick Calmettes
> <yannick.calmettes@analogway.com> wrote:
>> I want to remove opengl support to my machine so I had
>> DISTRO_FEATURES_remove =  "opengl " to my local.conf (i'm using poky
>> distro).
>> But by doing this all QT packages raise me an error because they do not find
>> provider for opengl package.
>> It seems that the problem comes from
>> "meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend" that add support
>> for opengl without test DISTRO_FEATURES :
>>
>> PACKAGECONFIG_GL_mx6 = "gles2"
>> PACKAGECONFIG_append_mx6 = " tslib icu examples"
>> QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', '
>> -no-eglfs', ' -eglfs', d)}"
>>
>> What is the best (and clean) way to correct this ?
> You need to check if opengl is on distro features when passing -eglfs.
>


 

[-- Attachment #2: Type: text/html, Size: 2423 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: imx-3.10.31-1.1.0_beta : QT opengl dependency
  2014-10-10  7:33   ` Yannick Calmettes
@ 2014-10-10 12:15     ` Otavio Salvador
  2014-10-16 14:37       ` Diego Sueiro
  0 siblings, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2014-10-10 12:15 UTC (permalink / raw)
  To: Yannick Calmettes; +Cc: meta-freescale@yoctoproject.org

On Fri, Oct 10, 2014 at 4:33 AM, Yannick Calmettes
<yannick.calmettes@analogway.com> wrote:
> I've removed OpenGL from Distro because I don't want to use 3D accelerator.
> But it do not succeed to build QTBase without it.

So I think it needs debugging. I am afraid I won't be able to help
more at this moment as my free time is very limited and now I am
focused on the 1.7 release finishing.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: imx-3.10.31-1.1.0_beta : QT opengl dependency
  2014-10-10 12:15     ` Otavio Salvador
@ 2014-10-16 14:37       ` Diego Sueiro
  2014-10-16 14:42         ` Yannick Calmettes
  0 siblings, 1 reply; 6+ messages in thread
From: Diego Sueiro @ 2014-10-16 14:37 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 827 bytes --]

Yannick,

On Fri, Oct 10, 2014 at 9:15 AM, Otavio Salvador <otavio@ossystems.com.br>
wrote:

> On Fri, Oct 10, 2014 at 4:33 AM, Yannick Calmettes
> <yannick.calmettes@analogway.com> wrote:
> > I've removed OpenGL from Distro because I don't want to use 3D
> accelerator.
> > But it do not succeed to build QTBase without it.


I have the same problem.

The workarround is to put on your qtbase bbappend:
EXTRA_OECONF += "-no-opengl -no-qpa-platform-guard -no-egl"

Note that if you are going to build qtdeclarative you must configure qtbase
with gl or gles support.


Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br
<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/

[-- Attachment #2: Type: text/html, Size: 1600 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: imx-3.10.31-1.1.0_beta : QT opengl dependency
  2014-10-16 14:37       ` Diego Sueiro
@ 2014-10-16 14:42         ` Yannick Calmettes
  0 siblings, 0 replies; 6+ messages in thread
From: Yannick Calmettes @ 2014-10-16 14:42 UTC (permalink / raw)
  To: Diego Sueiro, Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]

Dear Diego,

Thank you for your help. Finally I've enabled opengl on the demo board 
but on my own board (once I will received it ^^) I will test your trick. 
Thanks again.

Regards,

Yannick
**
Le 16/10/2014 16:37, Diego Sueiro a écrit :
> Yannick,
>
> On Fri, Oct 10, 2014 at 9:15 AM, Otavio Salvador 
> <otavio@ossystems.com.br <mailto:otavio@ossystems.com.br>> wrote:
>
>     On Fri, Oct 10, 2014 at 4:33 AM, Yannick Calmettes
>     <yannick.calmettes@analogway.com
>     <mailto:yannick.calmettes@analogway.com>> wrote:
>     > I've removed OpenGL from Distro because I don't want to use 3D
>     accelerator.
>     > But it do not succeed to build QTBase without it.
>
>
> I have the same problem.
>
> The workarround is to put on your qtbase bbappend:
> EXTRA_OECONF += "-no-opengl -no-qpa-platform-guard -no-egl"
>
> Note that if you are going to build qtdeclarative you must configure 
> qtbase with gl or gles support.
>
>
> Regards,
>
> --
> *dS
> Diego Sueiro
>
> Administrador do Embarcados
> www.embarcados.com.br 
> <http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>
>
> /*long live rock 'n roll*/


 

[-- Attachment #2: Type: text/html, Size: 3804 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-16 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07 10:55 imx-3.10.31-1.1.0_beta : QT opengl dependency Yannick Calmettes
2014-10-09 21:37 ` Otavio Salvador
2014-10-10  7:33   ` Yannick Calmettes
2014-10-10 12:15     ` Otavio Salvador
2014-10-16 14:37       ` Diego Sueiro
2014-10-16 14:42         ` Yannick Calmettes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.