@Calvin-H-C I assume you are using Designer to generate the UI code. The default uic generated code behaviour is to auto-connect by name. This can be suppressed by passing the -a or --no-autoconnection option to uic. In a qmake project file this could be achieved using the QMAKE_UIC_FLAGS. Your code must then connect everything manually.
-
Unsolved QPushButton color on MacOSX
General and Desktop • • cady -
Solved How to redraw a button ??
General and Desktop • • timob256