Qt Code:
frameLayout->addWidget(...); frameLayout->addWidget(...);To copy to clipboard, switch view to plain text mode
Qt Code:
frameLayout->addWidget(...); frameLayout->addWidget(...);To copy to clipboard, switch view to plain text mode
J-P Nurmi
tommy (26th January 2008)
This compiles fine but program crashes before it gets to graphics
What could be the problem?Qt Code:
{ ...... mainLayout->addLayout(otherLayout); ...... }To copy to clipboard, switch view to plain text mode
Is QLabel the reason? Using "QFrame *box1 = new QFrame;" will crash the program too.
Could "otherLayout" be an uninitialized pointer? I'd suggest using a debugger and seeing backtrace/callstack to get an idea which line is causing the crash.
J-P Nurmi
tommy (26th January 2008)
Bookmarks