Results 1 to 2 of 2

Thread: OpenCV2.1 and Qt 4.7.4 integration

  1. #1
    Join Date
    Jul 2011
    Posts
    16
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default OpenCV2.1 and Qt 4.7.4 integration

    Hello Folks,

    I want to integrate OpenCV2.1 with Qt. I've done OpenCV2.1 with VS2010 and it works fine; however, i couldn't find clear instructions on how to add the libraries or what i need to add in Qt.

    I really appreciate your help.

    Many thanks

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: OpenCV2.1 and Qt 4.7.4 integration

    You want the LIBS and INCLUDEPATH variables in your project's PRO file. Information on including external libraries into your Qt project is in the qmake manual and all over this forum like a rash. There's a even a OpenCV-specific example in the Newbie forum:
    http://www.qtcentre.org/threads/4305...simple-example
    (at the time of writing just two posts down the list)

Similar Threads

  1. qml qnd c++ integration
    By katta_ashish in forum Qt Quick
    Replies: 1
    Last Post: 1st June 2011, 09:34
  2. Replies: 0
    Last Post: 12th March 2011, 19:46
  3. VS Integration
    By GrahamLabdon in forum Qt Programming
    Replies: 3
    Last Post: 25th March 2010, 08:06
  4. Eclipse Integration sans Integration
    By ChrisW67 in forum Qt Tools
    Replies: 3
    Last Post: 17th March 2009, 07:29
  5. VS.NET integration
    By invictus in forum Installation and Deployment
    Replies: 1
    Last Post: 15th May 2008, 06:49

Tags for this Thread

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.