Ok last time I programmed was with Delphi 3 visual pascal.

I do know some C, C++

now I am using QT 4.72 QT GUI widget. Since I cannot get a GUI working in designer.

Still new, very knew.

here is the problem.

I added a qlabel called it "LStr" means Stregth.

Now I made a button call Roll AGain. and made a goto on it for the click.

I want to change the LStr test to say "18" or what ever I roll for it.

I tried LStr.SetText("18");
and
LStr->SetText("18");

but the program does not know what LStr is. ]

Should the editor (QT) know what your labels are and there names.

It was easy in Delphi but bit more confusion here.

Once I see how this is done, should be easier for me to get into the swing of things.

I hope

Thanks for all the help in advanced.

Tried to find a book but no lock here in small town of Cornwall, Ontario.