Results 1 to 12 of 12

Thread: Couldn't link opencv with qt creator , this error happens

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Couldn't link opencv with qt creator , this error happens

    My bad, sorry, some copy/paste errors, i corrected the error in my previous post, and also you seem to have the 2.49 version of opencv (you can check the file names in that lib folder), so the code becomes:
    Qt Code:
    1. CONFIG( debug, debug|release ) {
    2. #debug libs
    3. LIBS +=-LC:/opencv/build/x86/vc11/staticlib\
    4. -lopencv_core249d\
    5. -lopencv_highgui249d
    6. }
    7. else {
    8. #release libs
    9. LIBS +=-LC:/opencv/build/x86/vc11/staticlib\
    10. -lopencv_core249\
    11. -lopencv_highgui249
    12. }
    To copy to clipboard, switch view to plain text mode 

    LE: don't forget to run qmake after you modify the .pro file.

  2. The following user says thank you to Zlatomir for this useful post:

    Being friendzoned sucks (2nd May 2014)

Similar Threads

  1. Qt Creator 5.0.1 and OpenCv 2.4.3 mingw x86
    By marcocadei in forum Installation and Deployment
    Replies: 11
    Last Post: 16th February 2013, 20:20
  2. OpenCV integration with Qt creator
    By mind_freak in forum Qt Programming
    Replies: 11
    Last Post: 8th January 2013, 22:50
  3. Qt Creator and OpenCV , .dll missing
    By schludy in forum Newbie
    Replies: 0
    Last Post: 30th November 2011, 10:11
  4. Problem with openCV compilation in Qt Creator
    By mind_freak in forum Qt Programming
    Replies: 2
    Last Post: 22nd February 2011, 12:26
  5. Using OpenCV with QT creator
    By gmiller39 in forum Newbie
    Replies: 3
    Last Post: 7th July 2010, 15:32

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
  •  
Qt is a trademark of The Qt Company.