firemail

标题: The inferior stopped because it received a signal from the Operating System. [打印本页]

作者: Qter    时间: 2018-3-31 21:19
标题: The inferior stopped because it received a signal from the Operating System.
本帖最后由 Qter 于 2018-3-31 22:17 编辑
  1. bool Logger::isEnabledFor(Level level) const
  2.         {
  3.             if (mpLoggerRepository->isDisabled(level))
  4.                 return false;
  5.             return (effectiveLevel() <= level);
  6.         }
复制代码
mpLoggerRepository的值 为 no such value


不要在动态库中单独调用 QLoggingLib::instance(),而是从主程序中把 QLoggingLib::instance() 以指针形式传送进来,如:initDB(QLoggingLib* pLog)





欢迎光临 firemail (http://firemail.wang:8088/) Powered by Discuz! X3