Home › Forums › Installation › glade on Kubuntu 14.04 / Qt issue
- This topic is empty.
-
AuthorPosts
-
October 3, 2014 at 11:07 am #372
Ewald
ParticipantDear 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
October 3, 2014 at 11:07 am #1652Ewald
ParticipantDear 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
October 3, 2014 at 12:35 pm #1653Keith
KeymasterHi 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
-
AuthorPosts
- You must be logged in to reply to this topic.