@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.
-
Solved QtCharts and QDialog
General and Desktop • • Davide00 -
Unsolved Dialog Box return values
General and Desktop • • BigBen -
Unsolved QDialog: Reasons for avoiding exec()?
General and Desktop • • CJha -
Unsolved setupUi
General and Desktop • • smbika