回复: 共享一下自己编译的Qt吧 【6.7.2 / 6.5.3 / 6.2.8 / 5.15.14】
#316 回 fsu0413 的帖子 [20091001753 09-22 18:44]
fsu0413:gitee pages 寄了 (2024-09-21 08:24)
5.15.15 会编译么?
#317 [lankii 09-24 08:31]
楼主,能不能分享下window x64上构建交叉编译arm版本的,遇到很多莫名其妙的问题,特别是新模块的:
configure -prefixx:\Qt\armqt67 -opensource -confirm-license -release -shared -platform linux-arm-gnueabi-g++ -optimized-qmake-qt-libjpeg -qt-libpng -qt-zlib -nomake examples -nomake tests-no-opengl -c++std c++20 -make libs -widgets-dbus-runtime -qt-zlib -qt-freetype -qt-harfbuzz -strip -pch -skip qtgraphs -skip qtwebengine -skip qt3d -skip qtquick3d-skip qtdoc -skip qtquick3dphysics -skip qtopcua
skip这几个很容易编译错误,还有自带-qt-xx,其中指定了 -platform linux-arm-gnueabi-g++,用cmake --build . --parallel 编译出来的库也是x86_64平台,没按指令执行,是不是cmake要另外指定编译器指令:
cmake -DCMAKE_C_COMPILER= /xxx/arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc-DCMAKE_CXX_COMPILER=/xxx/arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-g++ 用这玩意一堆报错 ,如果直接修改cmakefile.txt 设置set错误更多,cmake 感觉很不好用
#318 [lankii 09-24 08:48]
Qt6.7.2-Windows-arm64-VS2022-17.10.3两次下载压缩包。用360解压都报解压错误,是不是包没打好
#319 回 20091001753 的帖子 [fsu0413 09-27 07:23]
20091001753:5.15.15 会编译么? (2024-09-22 18:44)
会(gu)的(gu)会(gu)的
#320 回 lankii 的帖子 [fsu0413 09-27 07:24]
lankii:Qt6.7.2-Windows-arm64-VS2022-17.10.3两次下载压缩包。用360解压都报解压错误,是不是包没打好 (2024-09-24 08:48)
用7-zip试试呢?
update:
问题可能是这个 https://sourceforge.net/p/sevenzip/discussion/45797/thread/7e8a02dac8/
我不想加 -myv 参数,不跨平台,所以只能更新压缩软件了。如果360那边一直使用旧的7z实现,肯定是解压不了的