This looks like the solution. However, when I run make, all the Qt function calls cannot be found such as lbl->setBuddy() etc. Is this a problem with using #include <QLabel> instead of #include <QLabel.h>

Thanks wysota for the VERY quick response.