相关疑难解决方法(0)

我的程序意外完成了

这个最简单的程序在发布模式下编译时出错,但在调试模式下编译正常:

#include <QApplication>

int main(int argc, char* argv[])
{
    QApplication app(argc,argv);

    return app.exec();
}
Run Code Online (Sandbox Code Playgroud)

错误(从 qt 的控制台输出)

*开始 C:\excercizes\QT_projects\Line_Counter-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Release\release\Line_Counter.exe...程序意外完成。C:\excercizes\QT_projects\Line_Counter-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Release\release\Line_Counter.exe 退出,代码为 -1073741511*

有人有过这种经历吗?

c++ windows qt

1
推荐指数
1
解决办法
3259
查看次数

标签 统计

c++ ×1

qt ×1

windows ×1