Qtdialog.cpp:3:24: fatal error: QApplication: file not found

Hi thecr3w

I can’t really confirm that the Makefile is broken as everyone else, including myself, have compiled LND without any issues. Actually I use LND with qt4 and have never had a problem compiling it (I just synced with my repo and recompiled it without errors).

The only time problems arise is due to missing dependencies in the system, or some other reasons like missing compilers.

From what you have posted I see it’s trying to compile both GTK and Qt version, and you really need to just one. Try editing the CMakeLists.txt and comment out the other GTK/Qt options or just remove GTK headers from the system.

Else, check if perhaps some dependent Qt files are missing in your system. Debian should really work out of the box, as I use Ubuntu here and it’s really a problem-free “ride.”