Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
6.9.0
-
None
Description
When trying to build ndefeditor example against Boot to Qt toolchain on Windows with:
call C:\QT\6.9.0\Boot2Qt\imx8qm-mek\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\qt-cmake.bat -GNinja CMakeLists.txt -B build || goto :configure_error call cmake --build build --parallel || goto :build_error call cmake --install build --prefix C:\Users\qt\RTA\usr --config Debug || goto :install_error
it fails with:
C:\Windows\system32\cmd.exe /C "cd . && C:\QT\6.9.0\Boot2Qt\imx8qm-mek\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\aarch64-poky-linux\aarch64-poky-linux-g++.exe --sysroot=C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux -mcpu=cortex-a72.cortex-a53+crc+crypto -mbranch-protection=standard -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security --sysroot=C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now CMakeFiles/ndefeditor.dir/ndefeditor_autogen/mocs_compilation.cpp.o CMakeFiles/ndefeditor.dir/main.cpp.o CMakeFiles/ndefeditor.dir/build/.qt/rcc/qrc_theme.cpp.o CMakeFiles/ndefeditor.dir/ndefeditor_qmltyperegistrations.cpp.o CMakeFiles/ndefeditor.dir/build/.qt/rcc/qrc_qmake_NdefEditor.cpp.o CMakeFiles/ndefeditor.dir/nfcmanager.cpp.o CMakeFiles/ndefeditor.dir/nfctarget.cpp.o CMakeFiles/ndefeditor.dir/ndefmessagemodel.cpp.o CMakeFiles/ndefeditor.dir/build/.rcc/qmlcache/ndefeditor_qmlcache_loader.cpp.o CMakeFiles/ndefeditor.dir/build/.rcc/qmlcache/ndefeditor_Main_qml.cpp.o CMakeFiles/ndefeditor.dir/build/.rcc/qmlcache/ndefeditor_MainWindow_qml.cpp.o CMakeFiles/ndefeditor.dir/build/.rcc/qmlcache/ndefeditor_NdefRecordDelegate_qml.cpp.o CMakeFiles/ndefeditor.dir/build/.qt/rcc/qrc_ndefeditor_raw_qml_0.cpp.o -o ndefeditor -Wl,-rpath,$ORIGIN:$ORIGIN/../lib C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6Nfc.so.6.9.0 C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6Quick.so.6.9.0 C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6QmlMeta.so.6.9.0 C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6QmlWorkerScript.so.6.9.0 C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6QmlModels.so.6.9.0 C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6Qml.so.6.9.0 C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6Network.so.6.9.0 C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6OpenGL.so.6.9.0 C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6Gui.so.6.9.0 C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libGLESv2.so C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libEGL.so C:/QT/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libQt6Core.so.6.9.0 && cd ." C:/Users/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/14.2.0/ld.exe: cannot open output file ndefeditor: Permission denied
Might have something to do with case (in)sensitivity on Windows.
See: QTQAINFRA-6985
Attachments
Issue Links
- duplicates
-
QTBUG-133788 Ndef editor example cross-compiling on Windows to Boot2Qt fails
-
- In Progress
-