[Development] [QTBUG-23273] Change to Q_DECLARE_INTERFACE interfaces
lars.knoll at nokia.com
lars.knoll at nokia.com
Mon May 14 12:00:49 CEST 2012
On 5/14/12 11:27 AM, "ext Thiago Macieira" <thiago.macieira at intel.com>
wrote:
>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-
>project?
Yes. The risk of breaking things is IMO rather small. And if we have some
regressions due to this later on, let's fix them. But this is now our only
chance of fixing this. Can you search for com.nokia as well please?
Thanks,
Lars
More information about the Development
mailing list