RFC: Qt theme icons on Windows

Dirk Hohndel dirk at hohndel.org
Thu Jun 26 15:57:09 PDT 2014


On Thu, Jun 26, 2014 at 09:00:58AM -0700, Thiago Macieira wrote:
> Em qui 26 jun 2014, às 13:17:07, Sergey Starosek escreveu:
> > Thiago, Tomaz,
> > 
> > Trac ticket http://trac.hohndel.org/ticket/564 reports disappearing icons
> > in user manual search panel under Windows (reproducable on Win7 and WinXP).
> > 
> > According to this discussion
> > http://stackoverflow.com/questions/12299626/qt-use-of-qt-standard-icons-from
> > -within-qt-creator-on-win7 theme icons are not supported on Windows.
> > 
> > Possible solutions to this issue could be:
> > 
> >    - use unicode arrows instead of icons
> >    - deliver theme icons along with ssrf
> >    - package custom icons as resource
> > 
> > Which is the correct  one?
> 
> Either solution is fine. I guess we'd prefer an image rather than Unicode 
> arrows, as otherwise we'd be at the mercy of the font and we've already had 
> problems with ₂)
> 
> You're right, we can't depend on the standard icons since they may not be 
> there. This is the code that uic generates:

But can we just borrow the icons from Linux and bundle them?
That seems like the easiest solution.

/D


More information about the subsurface mailing list