PDA

View Full Version : Requirements / dependencies for Qt4 Designer



tom.hedden
14th May 2014, 21:41
I successfully installed and can run Qt4 Designer on my desktop machine,
which is a 64-bit system running Ubuntu 12.04 LTS. Now I am trying to
install Qt4 Designer on a laptop that is very similar: 64-bit Ubuntu 12.04 LTS.
Updates are regularly installed.
However, when I install Qt4 Designer on the laptop (using the Ubuntu
Software Center) and click on the icon in the launcher, the application
simply does not start. I suspect that there is a library missing or an
incompatible one installed on the laptop, and I've tried to compare what
I have installed on the desktop and laptop to see whether there is any
difference, but so far I have not been able to find what the problem is.
Does anyone know of any obvious missing libraries, incompatibilities,
wrong versions, etc., that could be responsible for this?
Thanks in advance for any suggestions.
Tom

tom.hedden
16th May 2014, 01:19
For what it's worth I noticed that there is one difference between the two installations:
The desktop machine is running Ubuntu 12.04 LTS and the laptop is running 14.04 LTS.
I've tried uninstalling and reinstalling Qt4 Designer many times, before and after adding
and/or removing other packages. Help!
Tom

tom.hedden
16th May 2014, 22:04
It was suggested that I try launching Qt4 Designer from the command line to see the error messages. I have tried that, and here is what I got:

tom@Napoleon:~$ which designer-qt4
/usr/bin/designer-qt4
tom@Napoleon:~$ designer-qt4 &
[1] 10427
tom@Napoleon:~$ makekdewidgets(10427)/libakonadi Akonadi::AgentManagerPrivate::createDBusInterface: AgentManager failed to get a valid AgentManager DBus interface. Error is: 1 "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of name 'org.freedesktop.Akonadi.Control': no such name"
designer-qt4: symbol lookup error: /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/libqscintillaplugin.so: undefined symbol: _ZN13QsciScintillaC1EP7QWidget

[1]+ Exit 127 designer-qt4
tom@Napoleon:~$

Does this mean anything to anyone? Thanks in advance for any suggestions. I'm getting desperate.
Tom

Added after 1 4 minutes:

Success!
I searched for the strings "undefined symbol:" _ZN13QsciScintillaC1EP7QWidget
and found this bug report:
https://bugs.archlinux.org/task/39716
Conclusion of the bug was:
"So it seems the qscintilla package may need re-building after the qt4-4.8.5-8 release."
I checked computer that was having the problem, and it had the qscintilla package installed.
I simply uninstalled everything related to it, and then Qt4 Designer launched normally.
Thanks to everyone who made suggestions.
Tom