[Kde-bindings] [Bug 178354] pykde4 fails to compile

Simon Edwards simon at simonzone.com
Sat Jan 3 22:57:14 UTC 2009


http://bugs.kde.org/show_bug.cgi?id=178354





--- Comment #9 from Simon Edwards <simon simonzone com>  2009-01-03 23:57:13 ---
When I run this command below I get the following output:

    strings libplasma.so | c++filt | grep Plasma::Containment::StyleOption

Plasma::Containment::StyleOption::StyleOption(QStyleOptionGraphicsItem const&)
Plasma::Containment::StyleOption::StyleOption(QStyleOptionGraphicsItem const&)
Plasma::Containment::StyleOption::StyleOption(Plasma::Containment::StyleOption
const&)
Plasma::Containment::StyleOption::StyleOption(Plasma::Containment::StyleOption
const&)
Plasma::Containment::StyleOption::StyleOption()
Plasma::Containment::StyleOption::StyleOption()

This shows that my libplasma contains the needed StyleOption symbols. People
who are having trouble with this issue, should also check their libplasma and
see if it contains StyleOption. The real problem appears to be in the
compilation of libplasma.

The only special thing I can see about StyleOption (defined in containment.h)
is that it is a nested class inside an exported class. StyleOption itself
doesn't have its own PLASMA_EXPORT. Maybe there is a difference in the
compilers with respect to has this is handled. Should the nested class also be
exported?? Perhaps someone could try added a PLASMA_EXPORT to the StyleOption
declaration and see if that helps.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list