Duplicated symbol on plugin compilation [Solved]
-
Hi guys,
I have a interface and implementation of Qt plugin for my application. When i compile the plugin, i got errors:
duplicate symbol _qt_plugin_query_verification_data in:
obj/Support500b.o
obj/moc_Support500b.o
duplicate symbol _qt_plugin_instance in:
obj/Support500b.o
obj/moc_Support500b.o
ld: 2 duplicate symbols for architecture x86_64Why the moc file has same symbol of my plugin file?
Thank you!
-
[Update] The real solution for this problem, is here: http://qt-project.org/forums/viewthread/19346/