Qt6.8 for Android,Unable to create the template
-
wrote 22 days ago last edited by
-
Qt 6.8, using CMakeLists.txt, Qt 6.8.3 clang armeabi-v7a, Project - Build - Build Steps - Build Android APK - Create Template, the following warning appears. What should I do?
@ljxiango said in Qt6.8 for Android,Unable to create the template:
What should I do?
Check whether you have write permission and drive E: is not mounted read-only.
-
@ljxiango said in Qt6.8 for Android,Unable to create the template:
What should I do?
Check whether you have write permission and drive E: is not mounted read-only.
wrote 19 days ago last edited by@jsulm
Thanks for your answer.
The E drive can be read and written normally, and the project can compile and run without issues. Doesn't this indirectly prove that there are no problems with read/write permissions?!
I also tried running Qt Creator as an administrator, but the same error occurred.
In the related tutorials I found online, the project files are all.pro
, but mine isCMakeLists.txt
. Could this be related to the issue?! -
@jsulm
Thanks for your answer.
The E drive can be read and written normally, and the project can compile and run without issues. Doesn't this indirectly prove that there are no problems with read/write permissions?!
I also tried running Qt Creator as an administrator, but the same error occurred.
In the related tutorials I found online, the project files are all.pro
, but mine isCMakeLists.txt
. Could this be related to the issue?!@ljxiango said in Qt6.8 for Android,Unable to create the template:
Could this be related to the issue?!
No, it just means that you're using CMake instead of QMake.
-
@ljxiango said in Qt6.8 for Android,Unable to create the template:
Could this be related to the issue?!
No, it just means that you're using CMake instead of QMake.
wrote 9 days ago last edited by@jsulm
When I tried to delete the build folder, I was prompted that administrator privileges are required. Is the issue of "Unable to create the template" caused by this?
After entering the build folder and attempting to delete files or subfolders one by one, I found that administrator privileges are required for the .cmake files and the .qt folder under Debug. I’m not sure why these files and folders created by the project require administrator privileges.
-
@jsulm
When I tried to delete the build folder, I was prompted that administrator privileges are required. Is the issue of "Unable to create the template" caused by this?
After entering the build folder and attempting to delete files or subfolders one by one, I found that administrator privileges are required for the .cmake files and the .qt folder under Debug. I’m not sure why these files and folders created by the project require administrator privileges.
@ljxiango Maybe it was because these files were open/in use? Or you ran QtCreator as administrator at some point.
-
@ljxiango Maybe it was because these files were open/in use? Or you ran QtCreator as administrator at some point.
wrote 4 days ago last edited by@jsulm
Switched to a different computer, uninstalled the previously installed Qt 5.8, and then installed Qt 6.8.3. However, I still failed when creating a template, and the problem is the same as before. I can't find a solution online. I really don't know what to do. -
@jsulm
Switched to a different computer, uninstalled the previously installed Qt 5.8, and then installed Qt 6.8.3. However, I still failed when creating a template, and the problem is the same as before. I can't find a solution online. I really don't know what to do.
1/8