Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Install Opencv and QT (no tutorial worked yet)



  • Hello,

    I know this question was asked so 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.

    I would be so happy.
    Thanks a lot in advance,.


  • Lifetime Qt Champion

    Hi,

    Did you ensure that you were using OpenCV and Qt built with the same compiler ?


Log in to reply