what is wrong
----> mainwindow.h
#include <QVBoxLayout>
...
private:
---->mainwindow.cpp
----> mainwindow.h
#include <QVBoxLayout>
...
private:
QVBoxLayout *layoutGrupos;
---->mainwindow.cpp
layoutGrupos = new QVBoxLayout();
To copy to clipboard, switch view to plain text mode
I do not understand what is wrong above
but when I declare all in the cpp it works ! why ??
---->mainwindow.cpp
---->mainwindow.cpp
QVBoxLayout *layoutGrupos = new QVBoxLayout();
To copy to clipboard, switch view to plain text mode
Bookmarks