- This topic is empty.
-
AuthorPosts
-
February 25, 2016 at 11:16 am #398KeithKeymaster
Since updating the Qt version to 5.5.0, I have had reports of Glade failing with messages like:
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Segmentation fault (core dumped)The problem is that in 5.5, Qt moved to using xcb and for OpenGL, an undocumented Qt plugin was needed (thanks Qt!)
In 4.4.62 this plugin is now shipped… Note that this only affects Linux and not Windows or OSX.
February 25, 2016 at 11:16 am #1759KeithKeymasterSince updating the Qt version to 5.5.0, I have had reports of Glade failing with messages like:
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Segmentation fault (core dumped)The problem is that in 5.5, Qt moved to using xcb and for OpenGL, an undocumented Qt plugin was needed (thanks Qt!)
In 4.4.62 this plugin is now shipped… Note that this only affects Linux and not Windows or OSX.
February 27, 2016 at 12:00 pm #1760EwaldParticipantHello,
For glade 4.4.62 I get for kubuntu 14.02 64bit (and kubuntu 15.10 64bit) this error message:
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: linuxfb, minimal, offscreen, xcb.
Reinstalling the application may fix this problem.
Best regards,
Ewald
February 27, 2016 at 12:35 pm #1761KeithKeymasterYou will need to set LD_LIBRARY_PATH to point to the $GLADE_HOME/lib directory at the moment. The problem is that the Qt xcb plugin is dependent on a couple of the Qt shared libs.
In the next release hopefully I will have found a way round this by setting LD_LIBRARY_PATH from within Glade before the application object is started (and hence before Qt attempts to load its plugins).
February 27, 2016 at 1:23 pm #1762EwaldParticipantThanks for your swift reply.
I already have set LD_LIBRARY_PATH=${GLADE_HOME}/lib by this start bash script:
#!/bin/bash
export QT_PLUGIN_PATH=""
pushd ${HOME}/CAD/glade/_work
export mach_type=`uname -m`
export GLADE_HOME="${HOME}/Kubuntu/tarballs/glade4_linux64_ub14"
export PATH=${GLADE_HOME}/bin:${PATH}
export QT_PLUGIN_PATH=""
export LD_LIBRARY_PATH=${GLADE_HOME}/lib:$LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
export PYTHONPATH=""
export PYTHONPATH=$PYTHONPATH:${GLADE_HOME}/bin
export GLADE_THREADED_EXTRACTION='ON'
glade $*
popdObviously, this doesn't fix the issue for Kubuntu 14.04.
Best regards,
Ewald
February 27, 2016 at 2:09 pm #1763KeithKeymasterHi Ewald,
Apologies, the Ubuntu 14.04 64/32 bit distributions were missing one Qt lib. I have added this; you can download from the website (same version) to get the updated distribution.
regards
Keith
March 6, 2016 at 7:40 am #1767EwaldParticipantHi Keith,
The new version 4.4.63 solved my problem :xd:
Thanks a lot.
It's now working both for Kubuntu 14.04 and Kununtu 15.10.
Best regards,
Ewald
March 6, 2016 at 3:46 pm #1768KeithKeymasterHi Ewald,
That's good to hear
– Keith
-
AuthorPosts
- You must be logged in to reply to this topic.