Results 1 to 2 of 2

Thread: Using Qt 4.8.2 with OpenCV 2.4 Library Problem

  1. #1
    Join Date
    Jul 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Using Qt 4.8.2 with OpenCV 2.4 Library Problem

    I'm trying to use Qt with OpenCV Library on Windows 7 64 bit on Qt Creator and Visual Studio 2010.
    When I edit the *.pro file to add OpenCV x64 libraries and the header files needed in an empty project (Non Qt project), the OpenCV library works fine but when I try to work using Qt and OpenCV, I open a new Qt Empty Project and edit the *.pro file to add the x64 libraries (or even the x86 libraries) and the header files, I get error message "The application was unable to start correctly (0xc000007b). Click Ok to close the application.". I searched for this error and found that I get it when 32 bit application tries to call 64 bit *.dll.
    Could anyone help me solve this problem ?
    Thank you very much.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Using Qt 4.8.2 with OpenCV 2.4 Library Problem

    Yes, match the DLL to your platform (x64/x32).
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 2
    Last Post: 25th March 2012, 22:57
  2. Problem - QT + OpenCV + Windows 7
    By StinkyCat in forum Newbie
    Replies: 0
    Last Post: 19th November 2010, 17:15
  3. OpenCv Problem
    By danics in forum Qt Programming
    Replies: 1
    Last Post: 13th April 2010, 10:40
  4. Problem wth Opencv & Qt 4
    By Casper2004 in forum Qt Programming
    Replies: 0
    Last Post: 28th September 2009, 09:33
  5. I've got a qt&opencv problem.
    By eralvc in forum Installation and Deployment
    Replies: 2
    Last Post: 23rd October 2008, 09:58

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.