It might not be enough to add necessary include paths and linking rules. Qt projects tend to need a set of compiler defines and special makefile rules for moc & friends. Isn't there a way to import a Qt project from a .pro file?