When this is possible. I mean, what must be class declaration of QLabel so that this thing can happen.Code:QLabel *label= new QLabel("HelloQt!"); //this works QLabel label= new QLabel("HelloQt!"); //Error: Cannot convert QLabel* to QLabel
And how can I see class declaration of QLabel in Qt?