Explain solution for problem of 'QWidget::setMaximumSize: (/QLabel) Negative sizes (-10,16777215) are not possible'
Unsolved
General and Desktop
-
This post is deleted!
-
@Qt-embedded-developer said in Explain solution for problem of 'QWidget::setMaximumSize: (/QLabel) Negative sizes (-10,16777215) are not possible':
what is solution of this problem ?
Use a debugger, see where and why it crashes, fix the crash.
-
@Qt-embedded-developer said in Explain solution for problem of 'QWidget::setMaximumSize: (/QLabel) Negative sizes (-10,16777215) are not possible':
what is solution of this problem ?
As @Christian-Ehrlicher says. And don't try to set its maximum width to
-10
! -
This post is deleted!
-
@Qt-embedded-developer Isn't that apparent? It happens if negative values are passed to setMaximumSize...