Il 5/18/2016 3:46 PM, Sean Harmer ha scritto:
On Wednesday 18 May 2016 13:13:42 Calogero Mauceri wrote:
GLX ................ no
What OpenGL do you have? Any? You need the EGL (for OpenGL ES) or GLX for
"desktop" OpenGL typically. Make sure configure can find those headers etc.



Sean,

thank you very much for your hint. I had GLX installed on my machine but since Qt could not find it I installed EGL too. I think I'm affected by this bug https://bugreports.qt.io/browse/QTBUG-43784 causing GLX to be disabled when -qt-xcb option is used in configure.

I applied the patch suggested there (*https://codereview.qt-project.org/#/c/150646/2/configure*) and the configure output seems OK now (see attached file). I also managed to compile Qt (5.6.0) without any apparent error.
Unfortunately when I run the application I still have the same issue:

"QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled7"

Do you have any other hints?
Thanks,
Calogero

--
Calogero Mauceri
Software Engineer

Applied Coherent Technology Corporation (ACT)
www.actgate.com

   Configure summary

Build type:    linux-g++-32 (i386, CPU features: none detected)

Build options:
  Configuration .......... accessibility accessibility-atspi-bridge 
audio-backend avx c++11 clock-gettime clock-monotonic compile_examples 
concurrent dbus enable_new_dtags evdev eventfd fontconfig full-config 
getaddrinfo getifaddrs harfbuzz iconv inotify ipv6ifname large-config largefile 
linuxfb medium-config minimal-config mremap nis opengl openssl pcre png 
posix_fallocate precompile_header qpa qpa reduce_exports reduce_relocations 
release rpath shared small-config sse2 sse3 sse4_1 sse4_2 ssse3 system-freetype 
system-jpeg system-png threadsafe-cloexec xcb xcb-glx xcb-plugin xcb-qt 
xcb-xlib xinput2 xkbcommon-qt xlib xrender zlib 
  Build parts ............ libs
  Mode ................... release
  Using sanitizer(s)...... none
  Using C++ standard ..... c++11
  Using gold linker....... no
  Using new DTAGS ........ yes
  Using PCH .............. yes
  Using LTCG ............. no
  Target compiler supports:
    SSE2/SSE3/SSSE3 ...... yes/yes/yes
    SSE4.1/SSE4.2 ........ yes/yes
    AVX/AVX2 ............. yes/no

Qt modules and options:
  Qt D-Bus ............... yes (loading dbus-1 at runtime)
  Qt Concurrent .......... yes
  Qt GUI ................. yes
  Qt Widgets ............. yes
  Large File ............. yes
  QML debugging .......... yes
  Use system proxies ..... no

Support enabled for:
  Accessibility .......... yes
  ALSA ................... no
  CUPS ................... no
  Evdev .................. yes
  FontConfig ............. yes
  FreeType ............... yes (system library)
  Glib ................... no
  GStreamer .............. no
  GTK theme .............. no
  HarfBuzz ............... yes (bundled copy)
  Iconv .................. yes
  ICU .................... no
  Image formats: 
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using system library)
    PNG .................. yes (in QtGui, using system library)
  libinput................ no
  Logging backends: 
    journald ............... no
    syslog   ............... no
  mtdev .................. no
  Networking: 
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    libproxy.............. no
    OpenSSL .............. yes (loading libraries at run-time)
  NIS .................... yes
  OpenGL / OpenVG: 
    EGL .................. no
    OpenGL ............... desktop
    OpenVG ............... no
  PCRE ................... yes (bundled copy)
  pkg-config ............. yes 
  PulseAudio ............. no
  QPA backends: 
    DirectFB ............. no
    EGLFS ................ no
      EGLFS i.MX6 ........ no
      EGLFS i.MX6 Wayland. no
      EGLFS EGLDevice .... no
      EGLFS GBM .......... no
      EGLFS Mali ......... no
      EGLFS Raspberry Pi . no
      EGLFS X11 .......... no
    LinuxFB .............. yes
    Mir client............ no
    XCB .................. yes (bundled copy)
      EGL on X ........... no
      GLX ................ yes
      MIT-SHM ............ yes
      Xcb-Xlib ........... yes
      Xcursor ............ yes (loaded at runtime)
      Xfixes ............. yes (loaded at runtime)
      Xi ................. no
      Xi2 ................ yes
      Xinerama ........... yes (loaded at runtime)
      Xrandr ............. yes (loaded at runtime)
      Xrender ............ yes
      XKB ................ yes
      XShape ............. yes
      XSync .............. yes
      XVideo ............. yes
  Session management ..... yes
  SQL drivers: 
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. yes (plugin)
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... yes (plugin, using bundled copy)
    TDS .................. no
  tslib .................. no
  udev ................... no
  xkbcommon-x11........... yes (bundled copy, XKB config root: 
/usr/share/X11/xkb)
  xkbcommon-evdev......... no
  zlib ................... yes (bundled copy)

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to