Hi everyone!
I have integrated a custom widget within QtDesigner, using the plugin approach. When creating a form which uses this widget, from Designer alone from scratch, and integrate it in my project .pro with
FORMS += ../newWidget.ui
I get after compilation three errors:
error: expected type-specifier before 'newWidget'
error: cannot convert 'int*' to 'newWidget*' in assignment
error: expected ';' before 'newWidget'
But when using the newWidget from a new project with a generated form, I get no errors. I can’t find the reason… Any ideas?
Thanks in advance
↧