【问题标题】:Qt5 cross-compilation using MXE and NetworkAuth使用 MXE 和 NetworkAuth 的 Qt5 交叉编译
【发布时间】:2018-01-10 20:09:41
【问题描述】:

我正在尝试按照以下步骤从 Linux(Ubuntu 16.04) 到 Windows 进行 Qt 交叉编译:Building Qt 5 on Linux, for Windows

我使用 MXE 和上述步骤成功安装了完整的 Qt5,但不幸的是,我在运行后立即收到有关 NetworkAuth 库的错误

i686-w64-mingw32.static-qmake-qt5

在我的项目文件夹中:

项目错误:QT 中的未知模块:networkauth

我的 .pro 项目文件包含根据 Qt Documentation 的 networkauth 包含,并在 Qt Creator 下成功编译:

QT = gui core multimedia network networkauth

我查看了 /usr/i686-w64-mingw32.static/qt5/lib,只能找到 libQt5Network.a 和 libQt5Network.prl,但没有 networkAuth 相关文件。

有人对如何解决这个问题有任何建议吗?

【问题讨论】:

    标签: qt ubuntu networking cross-compiling


    【解决方案1】:

    MXE 中缺少 networkauth 包。我已经创建了一个,现在有一个拉取请求:https://github.com/mxe/mxe/pull/2112

    您可以等到它被主项目接受,也可以手动build the patchour fork

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-20
      相关资源
      最近更新 更多