Hi, I inserted this code in main.cpp; but button doesn't appear..Why?
Thanks
Qt Code:
QWidget mw2; mw2.setGeometry(800,200,200,400); QButton* quit2 = new QButton(&mw2); quit2->setGeometry(0,0,10,10); mw2.show();To copy to clipboard, switch view to plain text mode
Bookmarks