main.cpp:8:28: error: qextserialport.h: No such file or directory
This seems obvious - the file is missing.

MessageWindow.h:12:25: error: qdockwidget.h: No such file or directory
This suggest you've downloaded the wrong release as QDockWidget is part of Qt4 and not Qt3.