I've got a partial form layout built with Qt Designer, the rest of the form is dynamically built at run time during application initialization.

The auto generated code by Qt Creator adds a call to QMetaObject::connectSlotsByName at the end of the setupUi function. I'd like to defer this call until after the UI is built at run time. Is there a switch in Qt Designer or Creator to suppress generating that line of code?

If need be, a pre build step to strip the line of code from the generated header could be done before compiling, but I'd rather not go that route.

TIA,
Paul