Results 1 to 4 of 4

Thread: QtCreate 2.3.0 and Opencv 2.3.0 installation

  1. #1
    Join Date
    Oct 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default QtCreate 2.3.0 and Opencv 2.3.0 installation

    Hello all




    i'm a new to qt, i used to use opencv with microsoft visual studio 2010 express edition without any problems

    but when decided to swtich to Qt i faced a common problem of installing and linking opencv with qt ..
    i've read many and many posts for suggested solutions , but most of them confused me up .. that's maybe usually because i'm not keen to compiler types and
    other stuff related to it like buidling libraries and using cmake

    however ,, i need a simple and precise explanation for installing opencv with qt plz..

  2. #2
    Join Date
    Sep 2009
    Posts
    31
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtCreate 2.3.0 and Opencv 2.3.0 installation

    Hi Mohd,

    I followed this tutorial:
    http://knowtheabc.wordpress.com/2011...nd-qt-creator/
    and
    http://knowtheabc.wordpress.com/2011.../opencv-in-qt/

    he uses OpenCV 2.2, but it is the same as 2.3.

    When debugging, if you have problems just ask.

  3. #3
    Join Date
    Oct 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtCreate 2.3.0 and Opencv 2.3.0 installation

    Hello danilodsp

    thank you for helping me .. when i try to compile opencv 2.3 libraries using cmake 2.8 or 2.6 it tills me that
    ----------------
    CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
    CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
    CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
    Missing variable is:
    CMAKE_C_COMPILER_ENV_VAR
    CMake Error: Could not find cmake module file:C:/OpenCV2.3/build/CMakeFiles/CMakeCCompiler.cmake
    CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
    Missing variable is:
    CMAKE_CXX_COMPILER_ENV_VAR
    CMake Error: Could not find cmake module file:C:/OpenCV2.3/build/CMakeFiles/CMakeCXXCompiler.cmake
    Configuring incomplete, errors occurred!
    ---------------

    where i've specified native compiler from
    C:\QtSDK\mingw\bin
    g++.exe for c++ & gcc.exe for c



    and thanks again :-)

  4. #4
    Join Date
    Oct 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtCreate 2.3.0 and Opencv 2.3.0 installation

    Hello again ...looks like i had some problem during cmake compilation however , it's done now ... but now i'm facing a debugging error that says

    C:\OpenCV2.3\build\bin\opencv_ffmpeg_64.dll:-1: error: file not recognized: File format not recognized

Similar Threads

  1. OpenCV + QT4
    By thereisnoknife in forum Qt Programming
    Replies: 6
    Last Post: 8th March 2013, 05:19
  2. OpenCV on mac
    By sandeep_hyd123 in forum Newbie
    Replies: 1
    Last Post: 17th June 2011, 04:53
  3. opencv-qt-mac
    By ireneluis in forum Qt Programming
    Replies: 0
    Last Post: 16th March 2010, 15:24
  4. Qt and OpenCV
    By malorie in forum Newbie
    Replies: 2
    Last Post: 7th March 2010, 14:57
  5. OpenCv + Qt
    By Janderson Borges in forum Qt Programming
    Replies: 3
    Last Post: 2nd December 2008, 13:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.