随笔分类 -  QT调试错误

摘要:1,在Activity的onStop()函数中隐藏Widget。 int HomeLauncher::onStop() { QWidget* pObj = mProperty->getUiObj(); if(pObj) { pObj->hide(); } return 0; } 2,在Activit 阅读全文
posted @ 2020-06-23 20:50 maxiongying 阅读(145) 评论(0) 推荐(0) 编辑
摘要:原因分析: Ah, ok. I thought it was commented out because it caused the error. You can always put a breakpoint in the line printing the error and look at t 阅读全文
posted @ 2020-06-23 20:41 maxiongying 阅读(2738) 评论(0) 推荐(0) 编辑
摘要:dustije 5 years ago 5 years ago I have a project with several plugins i want to compile into one library. I get the error:@./debug\moc_stringoperation 阅读全文
posted @ 2018-07-20 16:32 maxiongying 阅读(903) 评论(0) 推荐(0) 编辑
摘要:编译环境: win764位,vs2008编译器,cbd调试器,qt4.8 背景: 按照《C++ Gui Qt4编程》书中第二章的一个例子(sortDialog)一步步抄完,编译运行,显示不了窗口,然后程序异常退出了(退出码 -1073741819)。 解决: 使用调试器调试找到问题代码: layou 阅读全文
posted @ 2018-03-09 10:00 maxiongying 阅读(1144) 评论(0) 推荐(0) 编辑
摘要:1,在Makefile中加上-g CFLAGS -O2 -pipe -g -feliminate-unused-debug-types 2,生成.s文件 arm-none-eabi-objdump HSMediaService -D >> media.S (一,vi /home/dev/.profi 阅读全文
posted @ 2017-07-19 15:54 maxiongying 阅读(405) 评论(0) 推荐(0) 编辑
摘要:百思不得其解,于是百度,google吧。。 发现Stackoverflow上也有人有相同的问题 下面是他的问题: For my compsci class, I am implementing a Stack template class, but have run into an odd erro 阅读全文
posted @ 2016-12-19 10:53 maxiongying 阅读(1165) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示