When using a Custom Widget within a form I get the following error “QLayout: Attempting to add QLayout “” to RangeWidget “Area”, which already has a layout” when I switched to Qt-4.8.4, but work fine with Qt-4.5.3(no warning messages)
QTabWidget
->QWidget
->QGroupBox
->custom-widget
The custom-widget layout is as follows
– QWidget
– Area: QWidget
– Limit: QWidget
-Ranges – QGridLayout(2×2)
There is no undefined behavior when running the application apart from the message that pops up on the terminal. Could members highlight why I get the QLayout messages having switched from Qt4.5.3 to Qt4.8.4?
↧