Perhaps you are performing the registration too late? Try at least moving it before setupUi() is called.
I’ve tried it, and it didn’t change anything. I’ve also tried to add this line in main.cpp, before creating MainWindow object – it also didn’t work.
↧