Nominate our 2022 Qt Champions!

QPushButton icon size question

  • Hi,

    I have an application where several buttons include a 24x24 icon. GUI's I have created using a previous version of Qt Creator appear to include the following in the xml it generates:

    @<property name="iconSize">

    However, this does not appear to be added using the latest version. I use Qt Creator on several PC's, so when the source is opened on an alternate PC, the buttons on GUI's created on the latest version default back to 16x16. But buttons created on the older version don't. Has this been removed from Qt Creator for some reason?


Log in to reply