#include "testGenLib.hpp" int main() { SimpleLib libObject; LObject lobject; return 0; } // Depend on and AUTOMOC the SimpleLib header simpleLib.hpp #include "moc_simpleLib.cpp"