Linux version of Glade

Home Forums News Linux version of Glade

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #398
    Keith
    Keymaster

    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.

    #1759
    Keith
    Keymaster

    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.

    #1760
    Ewald
    Participant

    Hello,

    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

    #1761
    Keith
    Keymaster

    You 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).

    #1762
    Ewald
    Participant

    Thanks 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 $*
    popd

    Obviously, this doesn't fix the issue for Kubuntu 14.04.

    Best regards,

    Ewald

    #1763
    Keith
    Keymaster

    Hi 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

    #1767
    Ewald
    Participant

    Hi 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

    #1768
    Keith
    Keymaster

    Hi Ewald,

    That's good to hear

    – Keith

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.