//CONSTRUCTOR OF MAINWINDOW //gridLayout is not empty QList<QObject*> temp{ui->gridLayout->children()}
Standard input is empty
prog.cpp:3:1: error: 'QList' does not name a type QList<QObject*> temp{ui->gridLayout->children()} ^
Standard output is empty