You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) versions 3.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2.
You have already accepted the terms of the Open Source license.
Creating qmake...
.Done.
Running configuration tests...
Note: PKG_CONFIG_LIBDIR automatically set to /home/zdtii/rootfs/db9sysroot/usr/lib/pkgconfig:/home/zdtii/rootfs/db9sysroot/usr/share/pkgconfig:/home/zdtii/rootfs/db9sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig
Note: PKG_CONFIG_SYSROOT_DIR automatically set to /home/zdtii/rootfs/db9sysroot
Could not determine the target architecture!
Turn on verbose messaging (-v) to see the final report.
-reduce-relocations was requested but this compiler does not support it
Re-run configure with -v for more information
Assistant
It looks like you're trying to configure Qt 5.7.1 for a Zynq platform. The error message you're encountering is Could not determine the target architecture!, which suggests that Qt's configure script is having trouble identifying the target architecture for your cross-compilation setup.
Here are some steps to troubleshoot and potentially resolve this issue:
1. Verify Cross-Compilation Toolchain
Ensure that your cross-compilation toolchain is correctly installed and accessible. The CROSS_COMPILE path should point to the correct binaries for your target architecture.
2. Check Sysroot and PKG_CONFIG Paths
Make sure that the paths specified for -sysroot and PKG_CONFIG_LIBDIR are correct and accessible. These paths should contain the necessary libraries and configuration files for the target architecture.
3. Enable Verbose Output
Re-run the configure command with the -v option to get more detailed information about what might be going wrong:
Ensure that all necessary dependencies for cross-compiling Qt are installed on your system. This might include libraries and tools like libgl, libxcb, and others.
5. Explicitly Set the Target Architecture
You can explicitly set the target architecture using the -platform option. For example:
After setting these variables, try running the configure script again.
If you still encounter issues, please provide the verbose output from the configure script, which can give more clues about what might be going wrong.
“zynqqt5.7.1/qt-everywhere-opensource-src-5.7.1/qtbase$ ./configure \ -opensource \….” Conversation with mistral-large-2407, from the LMArena Human Preference 100K dataset. The Chat Archive, 2026. https://thechatarchive.com/c/01m8517gw6xs855gdn99zb1nd9