我试图通过以下步骤从Linux(Ubuntu 16.04)到Windows进行Qt交叉编译:Building Qt 5 on Linux, for Windows .
我使用MXE和上面提到的步骤成功安装了完整的Qt5但是,不幸的是,我在运行后立即收到有关NetworkAuth库的错误消息
i686-w64-mingw32.static-qmake-qt5
在我的项目文件夹中:
Project ERROR:QT中的未知模块:networkauth
我的.pro项目文件包含了Qt Documentation的networkauth包含,并在Qt Creator下成功编译:
QT = gui core multimedia network networkauth
我查看了<mxe root> /usr/i686-w64-mingw32.static/qt5/lib,只能找到libQt5Network.a和libQt5Network.prl,但没有找到与networkAuth相关的文件 .
有没有人对如何解决问题有任何建议?
1 回答
MXE缺少
networkauth
包 . 我've created one and there'现在是拉请求:https://github.com/mxe/mxe/pull/2112您可以等到主项目被接受,或者手动build the patch或our fork .