@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.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
setupUi
Unsolved General and Desktop -
-
-
-