No target architecture defined in json file.
-
wrote on 30 Jan 2023, 14:40 last edited by BlackMamba
Hello,
When building on Windows for Android on Qt 6.4.2, I am having the error : :-1: erreur : No target architecture defined in json file.I had this issue before with Qt 5 and I am still having it now, is that possible that such a big bug was not fixed ?
Is there a workaround?
Interesting facts :
- when creating a new empty project I have the same error
- when running an example project provided by Qt, I don't have the error
Thanks,
-
Hello,
When building on Windows for Android on Qt 6.4.2, I am having the error : :-1: erreur : No target architecture defined in json file.I had this issue before with Qt 5 and I am still having it now, is that possible that such a big bug was not fixed ?
Is there a workaround?
Interesting facts :
- when creating a new empty project I have the same error
- when running an example project provided by Qt, I don't have the error
Thanks,
wrote on 30 Jan 2023, 16:52 last edited by@BlackMamba This had me stumped for a while as well. The solution is to make sure that you have the executable selected as the Run target in the Project Run wizard when building. The error occurs when a lib is selected as the Run target.
Other pitfalls I encountered when moving to CMake are listed in a previous post.
1/2