The solution for me on this problem was to specify the QT version, as this message was generated by / usr / bin / qtchooser
So, in my case, it was QT4, which I tried to use, and ran:
qmake
error generated (could not find Qt installation ')
qmake -qt=qt4
fixed this error. In my case, it was a Ruby Gem trying to compile with qmake, so I couldn't get it to pass this extra command line argument, so I added it to my profile instead
export QT_SELECT=qt4
And now QT4 works fine on my Ubuntu system.
Phantomwhale
source share