Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Clear UI property/stylesheet during build



  • I'm working on a desktop application with custom skin/stylesheet for various windows. For designing purposes I manually copy/paste the stylesheet in the stylesheet property (inside Qt Designer). While I can clear it at the end of each design session and then save the ui file. It gets tedious after a while, so wondering if its possible to auto-clear stylesheet property during the build process through some compile-time macro or tool?


Log in to reply