[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...


>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.
>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
>me and requests that we stop using the "com.trolltech" reverse domain in
>I have not a single clue about how Q_DECLARE_INTERFACE works or where
>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
>compared to Qt 4. I will also accept someone with 100% certainty saying
>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

More information about the Development mailing list