Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 7.0.2, Qt Creator 8.0.0
Description
In order to have build directories with a certain length, I like to set the default build directory to
../%{UUID}
When trying to build a qmake-based Android project, the build directory would look like so:
C:\Users\alportal\Documents{01f524fc-9ac0-4b05-a8c6-29ebd2209def}
the build fails like so:
16:00:29: Running steps for project myapp... 16:00:29: Starting: "C:\Qt\6.3.1\android_armv7\bin\qmake.bat" C:\Users\alportal\Documents\myapp\myapp.pro -spec android-clang "CONFIG+=debug" "CONFIG+=qml_debug" Info: creating stash file C:\Users\alportal\Documents\{01f524fc-9ac0-4b05-a8c6-29ebd2209def}\.qmake.stash 16:00:29: The process "C:\Qt\6.3.1\android_armv7\bin\qmake.bat" exited normally. 16:00:29: Starting: "C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670\prebuilt\windows-x86_64\bin\make.exe" -f C:/Users/alportal/Documents/{01f524fc-9ac0-4b05-a8c6-29ebd2209def}/Makefile qmake_all make: Nothing to be done for 'qmake_all'. 16:00:29: The process "C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670\prebuilt\windows-x86_64\bin\make.exe" exited normally. 16:00:29: Starting: "C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670\prebuilt\windows-x86_64\bin\make.exe" -j16 C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -c -target armv7a-linux-androideabi23 -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -g -marm -O0 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QMLINTEGRATION_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\myapp -I. -I..\..\..\..\Qt\6.3.1\android_armv7\include -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtQuick -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtOpenGL -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtGui -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtQmlModels -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtQml -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtQmlIntegration -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtNetwork -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtCore -I. -I..\..\..\..\Qt\6.3.1\android_armv7\mkspecs\android-clang -o main.obj ..\myapp\main.cpp C:\Qt\6.3.1\mingw_64\bin\rcc.exe -name qmake_resources qmake_resources.qrc -o qrc_qmake_resources.cpp C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -c -target armv7a-linux-androideabi23 -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -g -marm -O0 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QMLINTEGRATION_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\myapp -I. -I..\..\..\..\Qt\6.3.1\android_armv7\include -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtQuick -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtOpenGL -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtGui -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtQmlModels -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtQml -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtQmlIntegration -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtNetwork -I..\..\..\..\Qt\6.3.1\android_armv7\include\QtCore -I. -I..\..\..\..\Qt\6.3.1\android_armv7\mkspecs\android-clang -o qrc_qmake_resources.obj qrc_qmake_resources.cpp C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -target armv7a-linux-androideabi23 -fno-limit-debug-info -Wl,--exclude-libs,libunwind.a -Wl,-soname,libmyapp_armeabi-v7a.so -Wl,--build-id=sha1 -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libmyapp_armeabi-v7a.so main.obj qrc_qmake_resources.obj C:/Qt/6.3.1/android_armv7/lib/libQt6Quick_armeabi-v7a.so C:/Qt/6.3.1/android_armv7/lib/libQt6OpenGL_armeabi-v7a.so C:/Qt/6.3.1/android_armv7/lib/libQt6Gui_armeabi-v7a.so -lEGL C:/Qt/6.3.1/android_armv7/lib/libQt6QmlModels_armeabi-v7a.so C:/Qt/6.3.1/android_armv7/lib/libQt6Qml_armeabi-v7a.so C:/Qt/6.3.1/android_armv7/lib/libQt6Network_armeabi-v7a.so C:/Qt/6.3.1/android_armv7/lib/libQt6Core_armeabi-v7a.so -llog -pthread -lGLESv2 -llog -lz -lm -ldl -lc 16:00:32: The process "C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670\prebuilt\windows-x86_64\bin\make.exe" exited normally. 16:00:32: Starting: "C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670\prebuilt\windows-x86_64\bin\make.exe" "INSTALL_ROOT=C:\Users\alportal\Documents\{01f524fc-9ac0-4b05-a8c6-29ebd2209def}\android-build" install && cd C:\Users\alportal\Documents\{01f524fc-9ac0-4b05-a8c6-29ebd2209def} && C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670\prebuilt\windows-x86_64\bin\make.exe "INSTALL_ROOT=C:\Users\alportal\Documents\{01f524fc-9ac0-4b05-a8c6-29ebd2209def}\android-build" install C:\Qt\6.3.1\mingw_64\bin\qmake.exe -install qinstall -exe libmyapp_armeabi-v7a.so C:\Users\alportal\Documents\{01f524fc-9ac0-4b05-a8c6-29ebd2209def}\android-build\libs\armeabi-v7a\libmyapp_armeabi-v7a.so C:\Qt\6.3.1\mingw_64\bin\qmake.exe -install qinstall -exe libmyapp_armeabi-v7a.so C:\Users\alportal\Documents\{01f524fc-9ac0-4b05-a8c6-29ebd2209def}\android-build\libs\armeabi-v7a\libmyapp_armeabi-v7a.so 16:00:35: The process "C:\Users\alportal\AppData\Local\Android\Sdk\ndk\22.1.7171670\prebuilt\windows-x86_64\bin\make.exe" exited normally. 16:00:35: Starting: "C:\Qt\6.3.1\mingw_64\bin\androiddeployqt.exe" --input C:/Users/alportal/Documents/{01f524fc-9ac0-4b05-a8c6-29ebd2209def}/android-myapp-deployment-settings.json --output C:/Users/alportal/Documents/{01f524fc-9ac0-4b05-a8c6-29ebd2209def}/android-build --android-platform android-31 --jdk "C:/Program Files/Android/Android Studio/jre" --gradle Cannot find application binary in build dir C:/Users/alportal/Documents/{01f524fc-9ac0-4b05-a8c6-29ebd2209def}/android-build//libs/armeabi-v7a/libmyapp_armeabi-v7a.so. 16:00:35: The process "C:\Qt\6.3.1\mingw_64\bin\androiddeployqt.exe" exited with code 2. Error while building/deploying project myapp (kit: Android Qt 6.3.1 Clang armeabi-v7a) When executing step "Build Android APK" 16:00:35: Elapsed time: 00:06.
The introduced { and } seem to be invalid characters in that scenario.