Wednesday, 7 August 2013

Cannoto add QCheckBox to my window

Cannoto add QCheckBox to my window

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 idea??
Reg

No comments:

Post a Comment