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
Στιγμιότυπο από 2015-11-12 18:05:15.jpg
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
Στιγμιότυπο από 2015-11-12 18:05:15.jpg
Assuming a standard "designer class", the UI pointer is simply "ui" so
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!
Last edited by giannis1991; 12th November 2015 at 16:47.
Very strange setup though
Cheers,
_
Bookmarks