Home > other >  Qt custom controls, making UI file, cannot use UILoader load!
Qt custom controls, making UI file, cannot use UILoader load!

Time:11-29

As title, I created two Qt controls, using Qt interface designers generate UI files compiled using completely normal, but the use of UILoader: : the load () when the debug console prompt is as follows: "QFormBuilder was unable to create a custom widget of the class 'CCSTableView'; Defaulting to the base class 'QTableView. "" QFormBuilder was unable to create a custom widget of the class' CCSDataModel '; Defaulting to the base class 'QWidget. "can't normal use! Consider, too, UILoader didn't know my class, can't create my CCSTableView CCSDataModel class, want to ask the experts in the BBS what method can let UILoader I consider that the controls to load?

CodePudding user response:

Promotion in the UI designer interface controls for your custom class

CodePudding user response:

The building Lord how to solve
  • Related