c++ - Qt Creator 错误 : LNK1123: failure during conversion to COFF: file invalid or corrupt

标签 c++ qt qt-creator

当我尝试在 QT 5.0 Creator (MSVC2010(x86)compiler 10.0) 上调试项目时出现此错误:

LNK1123:转换为 COFF 时失败:文件无效或损坏

我用谷歌搜索并看到了一些解决方案,但仅适用于 Visual Studio 2012,我需要为 QT Creator 解决此问题。

谢谢。

在这个问题之前,我遇到了 MSVC(x86)compiler 11.0 的问题,我安装了 MSVC2010(x86)compiler 10.0,现在我遇到了这个错误。

最佳答案

设置 QMAKE_LFLAGS +=/INCREMENTAL:NO 文件 .pro

关于c++ - Qt Creator 错误 : LNK1123: failure during conversion to COFF: file invalid or corrupt,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15229988/

相关文章:

python - 使用 Python 在 Qt Designer 中加入另一个窗口

c++ - 如何在 rtl 对齐中打开右侧的子菜单?

即使使用 Component.onCompleted,在页面加载之前也会调用 C++ 函数

windows - Qt Creator 在自定义流程步骤中将命令名称放在引号内

C++ 混淆的 typedef 声明

c++ - 函数中auto_ptr的返回值

用于递归下降解析的 C++ n 元树实现

c++ - 如何将 QMenu 转换为 QMenuBar?

c++ - QTimeEdit : how to create an object of "QTime::setHMS(int, int, int, int)"?

c++ - 使用 C++14 在堆上分配连续二维数组的最佳实践