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

Well, i can’t troubleshoot your local installation. That’s something you need to take care of yourself…

Perhaps check if you have libqtgui4 installed? (that’s where QApplication lives)