Qt错误:QCoreApplication::applicationDirPath: Please instantiate the QApplication object firs
问题描述:运行Qt程序,提示以下错误QCoreApplication::applicationDirPath: Please instantiate the QApplication object firstQWidget: Must construct a QApplication before a QWidget16:25:58: 程序异常结束。原因:程序以debug模式运行,却调用relas
·
问题描述:
运行Qt程序,提示以下错误
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
QWidget: Must construct a QApplication before a QWidget
16:25:58: 程序异常结束。
原因:
程序以debug模式运行,却调用relase版本的dll
解决办法:
程序以release模式运行
更多推荐


所有评论(0)