Results 1 to 3 of 3

Thread: Eclipse_Qt4_OpenCv

  1. #1
    Join Date
    Jan 2008
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Eclipse_Qt4_OpenCv

    Hi everybody
    Firstly I tried to solve these issues long
    I have many problems
    1-
    Firsty I use Qt 4.3.3, opencv 1.0.0 on Windows Xp
    When I try Qt's exe, I am taking error such as Qtcore4.dll is not found, and when
    I put this dll into current directory my problem is solved. I looked environment variable and my Qt installation directory is E:\Qt\4.3.2\bin for bin. I set this value for my environment variable
    but when it is set, Have I to use E:/Qt/4.3.2/bin; or E:\Qt\4.3.2\bin; I confuse?Which qmake does prefer these?I used E:\Qt\4.3.2\bin.

    2-My second question is about opencv + eclipse+ QT.
    I read some post about opencv on this form and other forms.
    I put opencv's header files and librarys to Qt project's pro file but when I put these files pro file separates C:\Program Files\.... as C:\Program and Files\.....
    How is it for whitespace character in .pro file.
    Is there anybody makes configurations for opencv and Qt4?

    Thanks in advance
    Sincerely

  2. #2
    Join Date
    Aug 2007
    Location
    Wroclaw
    Posts
    20
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Eclipse_Qt4_OpenCv

    HI,

    1_
    "\" is windows version
    "/" is Linux version. In pro file better is to Linux version of slash. Qt will replace it to correct.

    2_
    whitespaces are delimiters. So if you have path with it you must use: "path" "path2" ...

    regards

  3. #3
    Join Date
    Jan 2008
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Smile Re: Eclipse_Qt4_OpenCv

    Quote Originally Posted by irmakci View Post
    1-
    Firsty I use Qt 4.3.3, opencv 1.0.0 on Windows Xp
    When I try Qt's exe, I am taking error such as Qtcore4.dll is not found, and when
    I put this dll into current directory my problem is solved. I looked environment variable and
    Sincerely

    2-My second question is about opencv + eclipse+ QT.
    I read some post about opencv on this form and other forms.
    I put opencv's header files and librarys to Qt project's pro file but when I put these files pro file separates C:\Program Files\.... as C:\Program and Files\.....
    How is it for whitespace character in .pro file.
    Is there anybody makes configurations for opencv and Qt4?
    1.To the first problem
    I think the reason to this is about the settting of Environment variables.
    Right click on "My Computer”, select Properties->Special Tab->Environment
    variables. Find the value "Path”, select "Edit” append a " ; ” and the path of your
    QT 4.3.3 bin directory.

    2.To the second problem
    When you install the QT,the installer works as a guide, asking you where to install Qt. Make sure to pick a directory path free from spaces because that can cause you problems later.
    Where did you insall QT4?If the target dir is "c:\program files" like dir (including space),I think your should reinstall QT and change the target dir.

    I think you can get some reference by visiting the site below:
    http://opencvlibrary.sourceforge.net/Eclipse

    Gook luck!

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.