Unsolved QScrollarea for adding widgets dynamically , crashes on closing the app
-
Hi,
I am using QScrollarea to add widgets dynamically.
But while closing the app, the app crashes.Is it because of setWidgetResizable
m_pQScrollArea = new QScrollArea(this); m_pQScrollArea.setWidgetResizable(true);
i am creating the object in Constructor.
And what is the solution?.Thanks,
-
-
hi,
Sorry,
in headers,
QScrollArea *m_pQScrollArea ;
in source file.
m_pQScrollArea = new QScrollArea(this);
m_pQScrollArea->setWidgetResizable(true);Thanks,
-
Hi,
Please provide a stack trace of your crash. Otherwise it's impossible to guess what's going wrong.