For some reason this is giving me an error:
#include <QtGui/QApplication>
#include <QWidget>
#include <QCheckBox>
QWidget window;
QCheckBox botonera = new QCheckBox(window);
The error seems to be about the window (should be a pointer to QWidget
), like QWidget * window;
, but nothing seems to work. Any ideas?