这是错误提示:
Starting D:\qtteach\qttext\build-management2-MinGW-Debug\debug\management2.exe...
Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
程序异常结束。
D:\qtteach\qttext\build-management2-MinGW-Debug\debug\management2.exe crashed
情况是这样的:我写小代码的时候是没有问题的,当我把很多小代码弄到一起的时候,编译就出现上面错误。
我猜测:因为我没有用 .ui 文件做界面,而是每一个按钮什么的都用 QLabel*label; (放到.h文件) label=newQLabel(this);(放到.c)
这样的语句进行声明,一开始的时候没有问题,等到新加的QT设计师类多点时(也就是用的那两条语句多),就出现问题了。