I'm trying to compile Lyx 2.2 on my Debian machine from sources. As usual I run
./autogen.sh && ./configure && make, but configuration stops here
configure: error: cannot compile a simple Qt executable. Check you have the right $QTDIR.
So I've installed the
qt5-default package, but it didn't solve the problem.
The $QTDIR vairable was empty, so I manually set it to
/usr/bin, but none has worked, same error.