You are placing your central widget in to the scorll area, instead parenting to it.
Qt Code:
  1. QScrollArea *p_ScrollArea = new QScrollArea(centralWidget());
  2. p_ScrollArea->setAutoFillBackground(false);
  3. centralWidget()->setGeometry(0,0,500,500);
  4. p_ScrollArea->setGeometry(0,0,100,100);
  5. QLabel* pLabel = new QLabel("test");
  6. pLabel->setGeometry(0,0,1000,1000);
  7. p_ScrollArea->setWidget(pLabel);
To copy to clipboard, switch view to plain text mode 

Also, setting the minimum size will not do when you change the size of your window.
You need to make sure your scoll areay adjust to the windows size.