El Divendres, 12 de setembre de 2014, a les 12:04:38, Allan Sandfeld Jensen va escriure: > On Wednesday 03 September 2014, Albert Astals Cid wrote: > > Porting guide lies in saying that KIcon should be replaced with > > QIcon::fromTheme since KIcon defauted to oxygen icon theme and obviously > > QIcon::fromTheme doesn't do that. > > > > Please someone provide a solution for this problem or undeprecate KIcon. > > This is blocking the porting of my applications. > > Is there a problem with using QIcon::setThemeName("Oxygen")? It you want to > use the system defined theme Qt needs to detect the desktop platform and at > least the KDE platform theme already defaults to Oxygen. > > If that is not enough, it might be possible to add some kind of QIcon > fallback theme setting.
Read the rest of the thread, it's not that simple :) Cheers, Albert > > `Allan > _______________________________________________ > Kde-frameworks-devel mailing list > Kde-frameworks-devel@kde.org > https://mail.kde.org/mailman/listinfo/kde-frameworks-devel _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel