1 Attachment(s)
Multiple Definition errors in moc_<Obj>.cpp and moc_<Obj>_obj.cpp
Qt ver 4.2.3: I'm getting multiple definition errors as in the attached file and can't figure out what I've done to cause them.
???
Thanks, Doug
Re: Multiple Definition errors in moc_<Obj>.cpp and moc_<Obj>_obj.cpp
Check whether you don't have duplicated entries in SOURCES and HEADERS variables in your .pro file.
Re: Multiple Definition errors in moc_<Obj>.cpp and moc_<Obj>_obj.cpp
That was it, I have had to put the development down for a month and I don't know why I had identical duplicate files, one named ctl_cfg_lnk.h and ctl_cfg_lnk_obj.h
Thanks