I know this kind of message is a sign I have corrupted memory but in my case it's happening so early it's amazing.
I'm seeing this in the debugger right from the moment the code enters the main window
before the ui->setupUI(this)
I put a breakpoint before the last line in my quoted program. The fields set to NULL are all pointers.
MainWindow
::MainWindow(QWidget *parent
) : ui(new Ui::MainWindow),
m_camera(NULL),
m_database(NULL),
m_scan(NULL),
m_afisData(NULL)
{
ui->setupUi(this);
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
m_camera(NULL),
m_database(NULL),
m_scan(NULL),
m_afisData(NULL)
{
ui->setupUi(this);
To copy to clipboard, switch view to plain text mode
Does this mean the damage occurs so early?
Bookmarks