Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/126.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ Qt5无法在qtquickcontrols上编译(uu declspec(dllimport))_C++_Qt_Compiler Errors_Cross Compiling - Fatal编程技术网

C++ Qt5无法在qtquickcontrols上编译(uu declspec(dllimport))

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

当我尝试为Windows构建Qt5(32位)时,在QtQuickControls上构建失败。它说qml_register_types_QtQuick_Controls_impl()是一个未定义的符号。(
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++
这是错误消息]的图片

之前没有错误,我的工具链是最新的