As norobro alludes, line 9 fails to compile (no matching call). Did you mean:
m_scrollArea->setWidget(m_frame);
m_scrollArea->setWidget(m_frame);
To copy to clipboard, switch view to plain text mode
You can add the widget to the scroll area after you fill the layout, or you can:
m_vLayout
->setSizeConstraint
(QLayout::SetMinAndMaxSize);
m_vLayout->setSizeConstraint(QLayout::SetMinAndMaxSize);
To copy to clipboard, switch view to plain text mode
to handle the dynamic changes in the layout after you have installed the frame in the scroll area. See the detailed description of QScrollArea for stuff about dynamic layouts.
Bookmarks