make the egl-viv and egl-brcm config tests less convoluted
don't mix in gles2 stuff, and rely on the library definitions from the mkspec. Change-Id: Id81b27a8c4f24729866d3ceb5cf97b443def542c Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
1e6b403ecc
commit
4f8b40d74e
@ -38,7 +38,6 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <GLES2/gl2.h>
|
||||
#include <bcm_host.h>
|
||||
|
||||
int main(int, char **)
|
||||
|
@ -39,7 +39,6 @@
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglvivante.h>
|
||||
#include <GLES2/gl2.h>
|
||||
|
||||
int main(int, char **)
|
||||
{
|
||||
|
@ -6,9 +6,7 @@ integrity {
|
||||
}
|
||||
CONFIG -= qt
|
||||
|
||||
LIBS += -lEGL -lGLESv2 -lGAL
|
||||
|
||||
for(p, QMAKE_LIBDIR_OPENGL_ES2) {
|
||||
for(p, QMAKE_LIBDIR_OPENGL_EGL) {
|
||||
exists($$p):LIBS += -L$$p
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user