invalid use of incomplete type 'class UI::MainWindow' solution

The objectName is clicked in the Qt window but it is not modified. If you click another position, the first letter of MainWindow will be automatically lowercase, resulting in the above error.

 

Just change it back to uppercase

 

Guess you like

Origin blog.csdn.net/weixin_51229250/article/details/123873004
Recommended