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