【问题标题】:Resolve 'typedef redefinition with different types ('struct max_align_t' vs 'struct max_align_t')'用不同类型解决\'typedef重定义(\'struct max_align_t\' vs \'struct max_align_t\')\'
【发布时间】:2022-09-25 08:19:55
【问题描述】:

我一直在为我的项目使用 Qt 5.15.2 并在 QtCreator 中的 WebAssembly 和 Desktop 32 位之间切换。当我切换回 WebAssembly 时,我收到了错误:

在包含的文件中:使用不同类型的 typedef 重新定义(\'struct max_align_t\' vs \'struct max_align_t\')

在我的第一行:
\"#include <QGuiApplication>\"

这个错误现在在我创建的所有 WebAssembly 项目中持续存在,我什至尝试卸载并重新安装 Qt

    标签: qt qml qt-creator


    【解决方案1】:

    尝试删除文件 *.pro.user 并加载项目

    【讨论】:

      猜你喜欢
      • 2010-12-13
      • 1970-01-01
      • 1970-01-01
      • 2016-05-13
      • 2013-12-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多