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

I agree. For unknown reason, Setup.sh detects that all Qt4 dependencies are in place, but CMake fails to include them. Weird. I have no skills with Cmake. I hope someone can direct me how to fix this. Otherwise, I will have to finally abandon UE4…