Important: Please read the Qt Code of Conduct -

Trouble buiding Opencv for Qt with Cmake

  • CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindQt4.cmake:1316 (message):
    Found unsuitable Qt version "5.3.2" from
    C:/Utilitarios/Qt/5.0.3/5.3/mingw482_32/bin/qmake.exe, this code requires
    Qt 4.x

  • The solution was:
    "In my experience, this problem is most easily solved by putting the folder containing qmake in your PATH environment variable." extracted of StackOverflow

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    As quick fix solution it works but don't let it like that, in that path there are also the Qt libraries which might get loaded by other programs on your system.

Log in to reply