C++ Qt5无法在qtquickcontrols上编译(uu declspec(dllimport))
当我尝试为Windows构建Qt5(32位)时,在QtQuickControls上构建失败。它说qml_register_types_QtQuick_Controls_impl()是一个未定义的符号。(C++ Qt5无法在qtquickcontrols上编译(uu declspec(dllimport)),c++,qt,compiler-errors,cross-compiling,C++,Qt,Compiler Errors,Cross Compiling,当我尝试为Windows构建Qt5(32位)时,在QtQuickControls上构建失败。它说qml_register_types_QtQuick_Controls_impl()是一个未定义的符号。(lld链接:错误:未定义符号:\ declspec(dllimport)qml\寄存器\类型\ QtQuick\控件\ impl()) 我没有以任何方式编辑makefile。我的配置文件已按如下方式运行: ./configure -no-harfbuzz -platform linux-clang
lld链接:错误:未定义符号:\ declspec(dllimport)qml\寄存器\类型\ QtQuick\控件\ impl()
)
我没有以任何方式编辑makefile。我的配置文件已按如下方式运行:
./configure -no-harfbuzz -platform linux-clang --prefix=/home/user/usr/i686-w64-mingw32 -no-opengl -device-option CROSS_COMPILE=/home/user/usr/i686-w64-mingw32/bin/i686-w64-mingw32- -no-pch -xplatform win32-clang-g++
这是错误消息]的图片
之前没有错误,我的工具链是最新的