Update: Full (light) breeze.rcc theme file can be squashed to 5MiB using SVG optimizer SVGO, in a similar way to what Aleix's script does ( https://quickgit.kde.org/?p=breeze-icons.git&a=commit&h=8a31ac8ac105) :)
Good job, Aleix. On 8 March 2016 at 23:56, Jaroslaw Staniek <stan...@kde.org> wrote: > > Hi, published a patch for Kexi with rough explanation and list of features: > > https://phabricator.kde.org/D1092 > > > > On 7 March 2016 at 17:52, Jaroslaw Staniek <stan...@kde.org> wrote: > >> >> On 7 March 2016 at 17:29, Jaroslaw Staniek <stan...@kde.org> wrote: >> >>> >>> On 7 March 2016 at 13:05, Kåre Särs <kare.s...@iki.fi> wrote: >>> >>>> Hi, >>>> >>>> On Monday, March 07, 2016 12:41:52 PM Jaroslaw Staniek wrote: >>>> > > >>>> > > Thanks, it works on Windows (no platform theme). >>>> > > How to make it work on Linux too (KF5 5.19.0, Qt 5.5.1), i.e. I'd >>>> like >>>> > > to have only used icons from the .rcc regardless of availability of >>>> > > FrameworkIntegrationPlugin.so KDEPlatformTheme.so? >>>> > > >>>> > > We're talking about this code: >>>> > > >>>> > > https://quickgit.kde.org/?p=kate.git&a=blob&f=icons.h >>>> > > >>>> > > As soon as QResource::registerResource("breeze.rcc") is called, >>>> ":/icons" >>>> > > is >>>> > > appended to the theme search path (checked using >>>> > > QIcon::themeSearchPaths()). >>>> > > >>>> > > There's a line QIcon::setThemeSearchPaths(QStringList() << >>>> > > QStringLiteral(":/icons")). >>>> > > >>>> > > - When I have this line enabled and I have no >>>> > > FrameworkIntegrationPlugin.so & KDEPlatformTheme.so installed, no >>>> icons >>>> > > are >>>> > > available at all >>>> >>>> Notice that the setThemeSearchPaths() call _replaces_ any previous >>>> search >>>> paths. Is this your problem? >>>> >>>> >>>> >>> No.. but I got it sorted out after reading QIconTheme::QIconTheme and >>> alike and re-reading the "The name should correspond to a directory name in >>> the themeSearchPath() containing an index.theme file describing it's >>> contents" sentence of QIcon::setThemeName docs :) >>> >> >> >> PS: If someone wants to experiment (I hear it's the case for KDevelop), >> here is the >> Breeze icons resource: http://kexi-project.org/tmp/breeze.rcc.bz2 >> >> For reference, Kexi icons: http://kexi-project.org/tmp/kexi_breeze.rcc. >> bz2 >> And recent commit that supports it all on Linux and Windows: >> https://quickgit.kde.org/?p=scratch%2Fstaniek%2Fkexi3.git >> >> > > -- > regards, Jaroslaw Staniek > > KDE: > : A world-wide network of software engineers, artists, writers, translators > : and facilitators committed to Free Software development - http://kde.org > Calligra Suite: > : A graphic art and office suite - http://calligra.org > Kexi: > : A visual database apps builder - http://calligra.org/kexi > Qt Certified Specialist: > : http://www.linkedin.com/in/jstaniek > -- regards, Jaroslaw Staniek KDE: : A world-wide network of software engineers, artists, writers, translators : and facilitators committed to Free Software development - http://kde.org Calligra Suite: : A graphic art and office suite - http://calligra.org Kexi: : A visual database apps builder - http://calligra.org/kexi Qt Certified Specialist: : http://www.linkedin.com/in/jstaniek
_______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel