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

When I try to start qtchooser i get this notification:

qtchooser: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qtchooser': No such file or directory

I've installed Qt5 from ppa:canonical-qt5-edgers/qt5-beta-proper I hope you can help me.

share|improve this question
Which Ubuntu version are you using? – Salem Mar 13 '13 at 13:53
Oh, sorry I've forgotten to mention that. I'm using Ubuntu 12.10. – Paul Kreker Mar 13 '13 at 13:55
What is the output of which qtchooser? – Salem Mar 13 '13 at 16:53
The output is /usr/bin/qtchoser. – Paul Kreker Mar 14 '13 at 6:18
up vote 7 down vote accepted

The error message is normal, although uninformative. In essence you're trying to execute qtchooser with itself, which doesn't work. Run the man qtchooser command on a terminal for how to use qtchooser, or just keep the ubuntu-sdk (and qt5-default) packages installed, in which case you don't need to care about qtchooser existing.

Upstream has fixed the problem with a more helpful text nowadays, but that version of qtchooser is not yet in Ubuntu.

share|improve this answer
Okay, I thought whith qtchooser I could set qt4 as default because FindQt4.cmake throws an error when it finds qt5 qmake. But thank you for your help. Now I know how to use it. :) – Paul Kreker Mar 14 '13 at 8:30

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.