Remove the Q_NO_DATA_RELOCATION hack
authorOlivier Goffart <ogoffart@woboq.com>
Thu, 12 Jan 2012 21:34:44 +0000 (22:34 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jan 2012 04:57:39 +0000 (05:57 +0100)
commit56b2a229a392befd23c6ff48d0c1af8605075d31
tree8632bdc7f97dd2b85be5bedee8e2dadc9c691e8f
parent0528d9dca7ec14e39bcae93c975069a517954e2e
Remove the Q_NO_DATA_RELOCATION hack

This hack was there because symbian used to have a problem with
relocations in the data section, between libraries. Hence, this was needed
so the metaobject could have a pointer to the base metaobject, despite
being in another library.

Anyway, I was told that symbian was fixed eventually. but the hack had to
stay there because of compatibility. But now that we don't even support
symbian, we can get rid of this hack totally.

Change-Id: I7249971ece35d952efa92bf8b04bf3aa3667624c
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
src/corelib/kernel/qmetaobject.cpp
src/corelib/kernel/qmetaobjectbuilder.cpp
src/corelib/kernel/qmetaobjectbuilder_p.h
src/corelib/kernel/qobjectdefs.h
src/tools/moc/generator.cpp