PDA

View Full Version : regen makefile/moc files from Qt Creator ?



divide
1st July 2010, 18:23
I just added a new QObject class to my Qt Creator project and it doesn't build because it can't file the corresponding moc file
("undefined reference to vtable for ...").
How can I regen makefile/moc files from Qt Creator ? I tried Build/Rebuild All but it doesn't create the corresponding moc file for this new class.

Zlatomir
3rd July 2010, 20:59
You don't need to use the moc directly.
Eventually use Run qmake (from build menu)

But this sound like a linker error... so check the existence of the definitions of your member functions.