You could speed up compilation by replacing #includes with class pre-declarations in your header files. If your class declaration only defines pointers to a given class, you can #include the header of that class in your .cpp file. Here is an example:
The class implementation would look like this:
The trick works because make depend won't try to recompile every .cpp file including our myclass.h each time qpushbutton.h or qlistview.h (in other words, the headers for the classes we pre-include) change.