Qt gives me this error when i am trying to compile it. I m trying to call a widget from another ui,but i cant understand what is wrong.If someone could helpme please.Thank you a lot :):):)
Attachment 11514
Printable View
Qt gives me this error when i am trying to compile it. I m trying to call a widget from another ui,but i cant understand what is wrong.If someone could helpme please.Thank you a lot :):):)
Attachment 11514
Assuming a standard "designer class", the UI pointer is simply "ui" so
Code:
ui->listWidget->....
Cheers,
_
thank you :) but i said the problem is that the widget is on history.ui and i am trying to call it from mainwindow.cpp
Added after 20 minutes:
yeahhhhh...i found it :) i used history1.ui->..... and set it to public and thats it! :)
Very strange setup though :)
Cheers,
_