[Development] [QTBUG-23273] Change to Q_DECLARE_INTERFACE interfaces

Thiago Macieira thiago.macieira at intel.com
Mon May 14 11:27:57 CEST 2012

On quarta-feira, 2 de maio de 2012 15.22.16, simon.hausmann at nokia.com wrote:
> I believe changing the string in Q_DECLARE_INTERFACE is binary incompatible
> but fully source compatible. 
> The string gets embedded in moc generated code as well as .o files on the
> caller side when doing a q_object_cast to an interface.
> At run-time they must match for the cast to succeed.

So it's ok to do a global search-and-replace changing com.trolltech to org.qt-

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120514/809348d3/attachment.sig>

More information about the Development mailing list