Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling qtpass on ubuntu 15.04 - fails due to newer qmake version #43

Closed
amx109 opened this issue May 6, 2015 · 3 comments
Closed

Comments

@amx109
Copy link

amx109 commented May 6, 2015

hi

i tried to compile qtpass from the commandline but i get

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

i think the ubuntu's have qt5 qmake now so using the qt4 path is a no go.

@annejan
Copy link
Member

annejan commented May 6, 2015

I'll have to add to the documentation on installing that on some systems there is no qmake anymore.
There might be qmake-qt4 and qmake-qt5 installed.

Could you try rm Makefile && qmake-qt5

@amx109
Copy link
Author

amx109 commented May 6, 2015

turns out it was more a problem with me/my distro. its using qtchooser to decide which qt version to use (i seemed to have both installed)

by default, ubuntu 15.04 comes with qt4 libs but no qmake. at some point qt5-qmake was installed to my system. yet qtchooser still goes with qt4, for which no qmake binary exists.

to fix this i ran 'qmake -qt5' and this invoked the right version.

@amx109 amx109 closed this as completed May 6, 2015
@annejan
Copy link
Member

annejan commented May 6, 2015

This fix is added to the README in #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants