Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed qtspim which requires qt4 to be installed. As I already have qt5 installed on my system, qtspim is working fine.

However, Software Center reports dependency error. When I run apt-get check it gives:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 qtspim : Depends: qt4-dev-tools (>= 4.7) but it is not installed
      Depends: qt4-doc (>= 4.7) but it is not installed
E: Unmet dependencies. Try using -f.

I don't want to install qt4 as i already have the latest version installed.

share|improve this question


you have to install qt4 libs for running qt4 programs, qt5 is not 100% backward compatable with qt4

share|improve this answer
Thanks for the answer. Can you provide a reference about this. – Anwar Shah Jan 19 '13 at 17:48
@Anwar: The name of the shared libraries are different and therefore an application that links to the Qt4 libraries will run only if the Qt4 libraries are present. – Nathan Osman Feb 5 '13 at 21:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.