Can someone tell me why I get the error and how to fix it?
QGridLayout* mainLayout = new QGridLayout; QGridLayout *leftLayout = new QGridLayout; QGridLayout *rightLayout = new QGridLayout; mainLayout->addLayout(leftLayout); mainLayout->addLayout(rightLayout); setLayout(mainLayout);
The error I get is: 'error: no suitable function to call in' QGridLayout :: addLayout (QGridLayout * &) '
Thanks for any help.
c ++
There is nothing we can do
source share