glade on Kubuntu 14.04 / Qt issue

Home Forums Installation glade on Kubuntu 14.04 / Qt issue

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #372
    Ewald
    Participant

    Dear All,

    Here a hint how to get glade 'Linux 64 bit build for Ubuntu (tested on Ubuntu 12.04) version 4.4.28' running on Kubuntu 14.04:

    When installing the download package you will face to an error message:

    Cannot mix incompatible Qt library (version 0x40806) with this library (version 0x40805)

    You can overcome this by two additional settings:

    1. Add to your startup script:

    export QT_PLUGIN_PATH=""

    2. Put into the glade installation directory a file

    <your_installation_directory/bin/qt.conf

    with the following contents:

    [Paths]
    Plugins = '.'

    Then glade is starting up again correctly.

    Attached my startup script as reference.

    Best regards,

    Ewald

    #1652
    Ewald
    Participant

    Dear All,

    Here a hint how to get glade 'Linux 64 bit build for Ubuntu (tested on Ubuntu 12.04) version 4.4.28' running on Kubuntu 14.04:

    When installing the download package you will face to an error message:

    Cannot mix incompatible Qt library (version 0x40806) with this library (version 0x40805)

    You can overcome this by two additional settings:

    1. Add to your startup script:

    export QT_PLUGIN_PATH=""

    2. Put into the glade installation directory a file

    <your_installation_directory/bin/qt.conf

    with the following contents:

    [Paths]
    Plugins = '.'

    Then glade is starting up again correctly.

    Attached my startup script as reference.

    Best regards,

    Ewald

    #1653
    Keith
    Keymaster

    Hi Ewald,
    Thanks for this info. It would appear that Ubuntu 14.04 is shipping with Qt 4.8.6 libraries installed, whereas Glade was compiled and linked to Qt 4.8.5 libraries.

    From my understanding from the Qt docs (http://qt-project.org/doc/qt-4.8/deployment-plugins.html), the application should look in the $GLADE_HOME/bin directory first for the localtion of the plugin directory used (imageformats). And this should work, because the plugin used is in there.

    If not found there, then look in $QTDIR/plugins. And of course that could be a different Qt version.

    However I was only expecting glade to look for the imageformats/libqjpeg.so plugin. Looks like it tries to load a load of other plugins too (by setting export QT_DEBUG_PLUGINS=1 before running Glade).

    So 2 possible solutions:
    1) build Ubuntu 14.04 with Qt 4.8.6
    2) ship all the required plugins the app tries to load, even though they are not all used.
    3) Do both of 1&2.

    This may take a little time, but in the meantime your workaround looks a good alternative.

    – Keith

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