随笔分类 -  异常、警告、问题合集

摘要:造成步骤:一开始是将现成的dll【Qt5.9.3】放在文件夹里,然后使用Qt5.7.1编译的exe放进去,产生标题错误 原因:dll库不匹配 解决:使用Qt5.7.1自带的cmd命令行,使用windeploy生成dll 阅读全文
posted @ 2018-08-23 15:00 朱小勇 阅读(7036) 评论(0) 推荐(0)
摘要:在加入QCustomplot时有如题的错误 1>c:\program files (x86)\microsoft visual studio11.0\vc\include\xutility(2176): error C4996: 'std::_Copy_impl': Function callwit 阅读全文
posted @ 2018-08-12 14:58 朱小勇 阅读(399) 评论(0) 推荐(0)
摘要:在main.cpp中: QApplication a(argc, argv); QString strLibPath(QDir::toNativeSeparators(QApplication::applicationDirPath()) + QDir::separator() + "plugins 阅读全文
posted @ 2018-08-01 11:22 朱小勇 阅读(1162) 评论(0) 推荐(0)
摘要:这是空指针,比如: A* a=NULL; a->fun();//会提示标题错误,因为a没有分配空间 阅读全文
posted @ 2018-07-19 15:22 朱小勇 阅读(2169) 评论(0) 推荐(0)
摘要:原因: 将两个不同的类型进行了比较,如: int a;unsigned short b; if(a>b)... 解决:改为同一种类型 阅读全文
posted @ 2018-07-06 14:50 朱小勇 阅读(1218) 评论(0) 推荐(0)
摘要:解决办法:删除C:\ProgramData\Package Cache快捷方式 阅读全文
posted @ 2018-07-06 10:14 朱小勇 阅读(753) 评论(0) 推荐(0)
摘要:简述:使用VS2008写了一个MFC程序,结果传到别人的机子上(WIN7)出现应用程序正常初始化(0xc0150002)失败的问题。为什么我的机子上可以,而别人的机子上运行不了呢?下面是我找到的一个解决办法: 1、在程序运行出错的时候,右键“我的电脑”,然后点击“管理”→“事件查看器”→“Windo 阅读全文
posted @ 2018-05-31 11:32 朱小勇 阅读(5166) 评论(0) 推荐(0)
摘要:warning MSB8027: Two or more files with the name of moc_Geometry.cpp will produce outputs to the same location. This can lead to an incorrect build re 阅读全文
posted @ 2018-05-14 09:57 朱小勇 阅读(1497) 评论(0) 推荐(1)
摘要:这两天在Qtcreator上编译程序的时候莫名其妙的出现了FTH: (7156): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***的问题,清除掉 阅读全文
posted @ 2017-05-25 11:19 朱小勇 阅读(5543) 评论(0) 推荐(0)