I know this question was asked many times. I tried at least as often as this quesition was asked to run opencv on QT.
I tried three full days by now. I really did not want to ask in here but I think I am really stuck. I tried almost any tutorial (with cmake or without, mingw or msvc), tried 64 Bit and 32 Bit, downloaded severeal QT and opencv Versions (the versions used in the tutorials).
Sometimes I ran into errors while compiling with mingw32 (on command line), sometimes within cmake, and more often in QT itself. (Could not find modules.hpp/core.hpp…etc, unreferenced object cv, Mat , etc etc)
I would just like to use opencv on a 32 Bit qt application. Never mind which version of opencv or qt.
Does anyone has a working solution (I maybe did not tried yet)? Or could help with specific errors on specific procedurs.
sorry, but we won’t / can’t write a tutorial for you.
and if you need help, you need to show us the exact steps taken, and the precise error resulting (you have all our sympathy, but whining does NOT help here)
and maybe it’s a good idea to start with building opencv only, once that works, add qt.
I already build opencv with visual studio - this works
It is just that no tutorial works for me. Maybe you know a more recent tutorial I could follow.
Or maybe you have a fully build (with cmake) folder with everything I need so I could use this one. Maybe something like this even exists on github or somewhere else. I just cant find it
Just one example (but this is already obvious why it wont work)
When I follow this tutorial qt cant find any of the lib files. Which is obvious because I cant find them too. I just downloaded the default folder (like advised) and then I include everything like wanted but receive many errors.
Another examples (other tutorials) that I get a linker error because I refer to unreferenced objects). Which I do not understand since I did everything what they told me in the tutorial.
If I get to the point (without errors on command line or cmake) I always get these errors for example. I will try a few tutorials again and document the erros.