I start Qt for Android projects all the time and setting up all the required folders and including libraries can take some time, assuming that I don’t make any mistakes during the initialization of the project. Previously I had posted this about how to add OpenCV libraries to your Qt for Android project but it proved to be not enough and I also receive questions about how to create a correct project with OpenCV all the time.
So I decided to solve this problem once and for all. In this post I am sharing a ZIP file that you can download, extract and use as a template to create your own Qt projects for Android with OpenCV.
You can download the template from here.
Everything is described using comments in the codes, files and folders after you extract the ZIP file. You obviously need to change some parts in it to fit your own needs.
If you have any questions, just put a comment below.