Dear colleague:
I am writing to you to explain with details my problems:
I am working with Qt Creator 1.0.0 based on QT 4.5.0 and I am installed opencv-framework.1.1.dmg. In order to know if QT was able to integrate opencv I added the line
#include "cv.h"
#include "cv.h"
To copy to clipboard, switch view to plain text mode
to my hello world qt example
#include <QApplication>
#include <QPushButton>
#include "cv.h"
int main(int argc, char *argv[])
{
hello.resize(100, 30);
hello.show();
return app.exec();
}
#include <QApplication>
#include <QPushButton>
#include "cv.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
After I ran the example I received the message:
/Users/teresaalarcon/Tere/Pract_OPENCV/ej1/main.cpp:13: error: cv.h: No such file or directory
/Users/teresaalarcon/Tere/Pract_OPENCV/ej1/main.cpp:13: error: cv.h: No such file or directory
To copy to clipboard, switch view to plain text mode
I tried to modify my project including the path for opencv, but did not work:
I am working in Mac OS X, v. 10.5.8. the compilers are: gcc 4.0.1
I need your help, if this is possible.
ireneluis[/QUOTE][/QUOTE]
Bookmarks