Hi. I made a program and I write this code in order to make the window's size fixed. More over i am using a button to unhide some Groups on main window, But when i compile program, it crashes but when I comment out this line of code the program works fine but the window capability of setting its size dynamically according to the number of groups unhide finihes.
layout()->setConstraintSize(QLayout:: setFixedSize);