I had the same issue, but finally got this to work. I'm using Qt 5 with the Fusion color theme: QPalette pal = button->palette(); pal.
確定! 回上一頁