2011년 8월 13일 토요일

Qt bug- MainWindow.exe exited with code -1073741819



QAction *cutAction
...
 editMenu = menuBar()->addMenu(tr("&Edit"));
 editMenu->addAction(cutAction);

위의 코드에서 cutAction 항목을 포인터로 선언 후에 초기화 하지 않고 사용하면 에러가 발생한다
(해법은 "QAction *cutAction = new QAction;"

Qt Creator 에서 실행하면 아래와 같은 텍스트 메시지가...

C:\Users\gekosoft\Documents\workspace\MainWindow\debug\MainWindow.exe exited with code -1073741819

윈도우에서 실행하면 아래와 같은 다이얼로그가

이클립스에서 실행하면...아무 반응이 없다 ㅠ_ㅠ
난 이클립스가 젤 편한디...

추가(아래의 코드도 위와 동일한 현상이 발생함)...왠지 어려워 지고 있다
QString Spreadsheet::currentFormula() const
{
// return "";
}

댓글 없음:

댓글 쓰기