Quote Originally Posted by raghvendramisra View Post
i tried with le.append(new QLineEdit(this))
but it showed error as "trying to access append which is not a member of QlineEdit class"
You declared variable le as "QLineEdit*" when it should have been "QVector<QLineEdit*>". For more details, take a closer look at bremer's post.