Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Trouble buiding Opencv for Qt with Cmake
Qt 6.11 is out! See what's new in the release blog

Trouble buiding Opencv for Qt with Cmake

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved