I guess this is due to the following lines in debian/rules:

gles2_architectures := armel armhf arm64
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
        extra_configure_opts += -opengl es2
else
        extra_configure_opts += -opengl desktop
endif

Still my question is why those architectures (should) differ from the
regular ones. And why Ubuntu is behaving differently than Debian.

In my case I need access to qopenglext.h contents which does not get
loaded if OpenGL ES2 support is present.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1811678

Title:
  Inconsistent OpenGL support across architectures

Status in qtbase-opensource-src package in Ubuntu:
  New

Bug description:
  Hello,

  today I noticed build failures of v4l-utils on arm64 hosts:
  
https://launchpadlibrarian.net/406083796/buildlog_ubuntu-bionic-arm64.v4l-utils_1.17.1-201901131615~ubuntu18.04.1_BUILDING.txt.gz

  This is due to the OpenGLES2 feature is enabled on arm64 (but this
  feature is not enabled for amd64):

  > /usr/include/x86_64-linux-gnu/qt5/QtGui# grep -i opengl qtgui-config.h
  > #define QT_FEATURE_opengles2 -1
  > #define QT_FEATURE_opengl 1
  > #define QT_FEATURE_opengles3 -1
  > #define QT_FEATURE_opengles31 -1

  vs:

  > /usr/include/aarch64-linux-gnu/qt5/QtGui$ grep -i opengl qtgui-config.h
  > #define QT_FEATURE_opengles2 1
  > #define QT_OPENGL_ES true
  > #define QT_OPENGL_ES_2 true
  > #define QT_FEATURE_opengl 1
  > #define QT_FEATURE_opengles3 1
  > #define QT_OPENGL_ES_3 true
  > #define QT_FEATURE_opengles31 1
  > #define QT_OPENGL_ES_3_1 true 

  Is the inconsistent feature setting intentional? The Debian Qt
  packages seem to select Desktop OpenGL across architectures.

  Thanks,
  Gregor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1811678/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to