[umbrello-devel] [umbrello] [Bug 364120] Umbrello toolbar icons do not match diagram widgets and cursors running under "breeze" style

Oliver Kellogg via KDE Bugzilla bugzilla_noreply at kde.org
Mon Jul 11 17:00:54 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=364120

--- Comment #12 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(In reply to Oliver Kellogg from comment #11)
> [...]
> Looking at /usr/include/qt4/QtCore/qglobal.h , we have:
> 
> #define Q_INIT_RESOURCE_EXTERN(name) \
>     extern int QT_MANGLE_NAMESPACE(qInitResources_ ## name) ();
> 
> #define Q_INIT_RESOURCE(name) \
>     do { extern int QT_MANGLE_NAMESPACE(qInitResources_ ## name) ();       \
>         QT_MANGLE_NAMESPACE(qInitResources_ ## name) (); } while (0)
> 
> so basically they are the same except that Q_INIT_RESOURCE embeds the
> *extern* declaration in a do-while block.
> 

Sorry, that was incorrect - of course, Q_INIT_RESOURCE includes the call to
   QT_MANGLE_NAMESPACE(qInitResources_ ## name) ();
which Q_INIT_RESOURCE_EXTERN does not.
In which library should qInitResources_icons() be defined?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list