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

lars.knoll at nokia.com lars.knoll at nokia.com
Fri May 4 09:50:00 CEST 2012


On 5/2/12 5:22 PM, "ext simon.hausmann at nokia.com"
<simon.hausmann at nokia.com> wrote:

>I believe changing the string in Q_DECLARE_INTERFACE is binary
>incompatible but fully source compatible.

And actually we do want them to be binary incompatible to 4.x. Currently I
do see warnings about some qt 4.x image format or style plugins using the
old plugin 
format. Which means my Qt 5 app is loading them...

Cheers,
Lars

> 
>
>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.
>
>Simon
>
>--
>Sendt fra min Nokia N902.05.12 16:53 skrev ext Thiago Macieira:
>The task https://bugreports.qt-project.org/browse/QTBUG-23273 is assigned
>to 
>me and requests that we stop using the "com.trolltech" reverse domain in
>our 
>interfaces.
>
>I have not a single clue about how Q_DECLARE_INTERFACE works or where
>it's 
>used. I will happily do the search and replace, but I need someone to
>reply to 
>this email saying, with 100% certainty, that this will not cause
>regressions 
>compared to Qt 4. I will also accept someone with 100% certainty saying
>that 
>the regressions are minimal and acceptable.
>
>Otherwise, I will close the task saying we can't do it for source-
>compatibility reasons.
>
>-- 
>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
>_______________________________________________
>Development mailing list
>Development at qt-project.org
>http://lists.qt-project.org/mailman/listinfo/development




More information about the Development mailing list