Results 1 to 4 of 4

Thread: Qt + OpenCV 2.4.2 wont work at all

  1. #1
    Join Date
    Oct 2012
    Posts
    8
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Unhappy Qt + OpenCV 2.4.2 wont work at all

    hello

    i must givwe credit for this wounderful IDE it is the best software i used i realy hope to be real good in this enviremoment.

    now to the problem, i have download the Qt sdk for windows and installed it.
    the software works great no problems att all, it is the openCV that is the problem,

    when i download the source to build the libs, i runt them thrue cmake and when i should make the cmd comand mingw32-make it starts to do its thing, but when i come up in 29 % i chrashes.
    all the time, i have tried all things to fix it, download new versions of openCV, tried a diffrent build like the 2.3. installed diffrent versions of cmake and reinstalled it, have also tried to build the libs in visual studio
    and there it is the same problem, and for the visual studio i use the visual compiler in cmake. and i have set the patch in the system to it.

    so what are i using?

    MSYS mingw (release 20120426)
    OpenCV 2.4.2
    Latest SDK of Qt

    running windows 7 x64

    maby it is me that is the problem, but please then can someone help me, write a guide so i can go after or someting, i have been sitting infront my computer and looked on tutorials and followed guides for 3 day now.

    or is there any one else that having the same problem as me?

  2. #2
    Join Date
    Oct 2012
    Posts
    8
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Qt + OpenCV 2.4.2 wont work at all

    sorry for the double post but i diden't find the edit function :P

    i forgotted to post the error code for the mingw32-make command:

    Qt Code:
    1. CMakeFiles\opencv_highgui.dir/objects.a(qrc_window_QT.cxx.obj):qrc_window_QT.cxx
    2. :(.text$_Z27qCleanupResources_window_QTv+0x24): undefined reference to `_imp___Z
    3. 23qUnregisterResourceDataiPKhS0_S0_'
    4. collect2: ld returnerade avslutningsstatus 1
    5. mingw32-make[2]: *** [bin/libopencv_highgui242.dll] Error 1
    6. mingw32-make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
    7.  
    8. mingw32-make: *** [all] Error 2
    To copy to clipboard, switch view to plain text mode 

    i hope that is to any help to figure it all out
    Last edited by melzk; 20th October 2012 at 09:44.

  3. #3
    Join Date
    Oct 2012
    Posts
    8
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Qt + OpenCV 2.4.2 wont work at all

    Bump no one with a clue what is the problem?.

    i know i can't fix this by myself

  4. #4
    Join Date
    Oct 2012
    Posts
    8
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Qt + OpenCV 2.4.2 wont work at all

    Now it works. I dont now what the error was but i did this

    1. Uninstalled qt, mingw and cmake
    2. Downloaded new file of qt, mingw and cmake
    3. Uninstalled a lot of random crap on my computer
    4. Installed all again in this order: Mingw, cmake and qt

    So now it works to make the libs

Similar Threads

  1. OpenCV 2.3 64bit Libraries Don't work on Nokia QT
    By Aerowrx in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd February 2012, 23:52
  2. Program wont start - Wont even enter main()
    By ComServant in forum General Programming
    Replies: 5
    Last Post: 8th January 2011, 03:44
  3. How to work opencv with Qt
    By chamin in forum General Discussion
    Replies: 0
    Last Post: 30th December 2010, 04:24
  4. Qt cant work with opencv
    By danics in forum Qt Programming
    Replies: 3
    Last Post: 7th March 2010, 11:09
  5. OSX App wont run on other machines
    By December in forum Qt Programming
    Replies: 3
    Last Post: 13th April 2007, 02:23

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.