Compiling Plasma-Framework with a QT5 compiled with -egl -opengl es2

nerdopolis bluescreen_avenger at verizon.net
Mon Oct 14 15:57:55 UTC 2013


On Monday, October 14, 2013 02:38:46 PM kde-frameworks-devel-request at kde.org wrote:
> Message: 3
> Date: Mon, 14 Oct 2013 16:40:03 +0200
> From: Martin Gr??lin <mgraesslin at kde.org>
> To: kde-frameworks-devel at kde.org
> Subject: Re: Re: Compiling Plasma-Framework with a QT5 compiled with
> 	-egl -opengl es2
> Message-ID: <1784478.m9oGfZjJ0X at martin-thinkpad>
> Content-Type: text/plain; charset="utf-8"
> 
> On Friday 11 October 2013 07:32:47 nerdopolis wrote:
> > On Thursday, October 10, 2013 12:00:04 PM kde-frameworks-devel-
> request at kde.org wrote:
> > > > Is this a bug I should file?
> > > 
> > > no need to file a bug about it. It's code I have written and I know that
> > > it
> > > currently requires glx. The problem here is that GLX is found on your
> > > system but Qt is compiled as gles. This is an unfortunate situation and
> > > should not happen in "real world" as one has either desktop gl or gles
> > > and not both on a system.
> > > 
> > > Cheers
> > > Martin
> > 
> > Hi. It seems qtwayland needs egl though, which seems to require qt to be
> > built with es2?
> it shouldn't require es2. It's obvious that it needs egl, but it shouldn't 
> need es2. If it does that would be clearly an upstream bug. KWin 4.11 for 
> Wayland requires egl, but doesn't work with es2.
> > 
> > Checking for wayland... yes
> > Checking for xkbcommon... yes
> > Checking for wayland_scanner... yes
> > Checking for wayland_egl... no
> > Checking for egl... no
> > Checking for brcm_egl... no
> > Checking for glx... yes
> > Checking for xcomposite... yes
> > Project MESSAGE: no wayland-egl support detected, cross-toolkit
> > compatibility disabled
> > 
> > It doesn't seem to build the plugin when I removed the -egl -opengl es2 and
> > rebuilt QT.
> What if you add the -egl and not the -opengl es2? Egl is an own library and 
> not part of opengles.
> 
> Cheers
> Martin
Hi. 

It seems QT5's EGL support needs es2

I get:

Running configuration tests...
EGL support was requested but Qt is being configured for desktop OpenGL.
Either disable EGL support or enable OpenGL ES support.
make: *** No targets specified and no makefile found.  Stop.

For now anyway I used the previously suggested workaround
-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=1 


More information about the Kde-frameworks-devel mailing list