Configuration Qt with OpenCV in linux
-
hi
i am using ubuntu12.04 , Qt 2.4.1 and OpenCV2.3.1 and i have downloaded and installed them with ubuntu repository.
i have tried for 2days to run an example of opencv on it but i got some errors .now i have some questions :
1- if i want to make a project with a picturebox(like visual studio, for getting camera image from webcam) and some bottones for controll it , i must choice which type of project in Qt ( seems QuickQt or application UI or console?!:D or etc ? )
2- i had write this codes in my .pro file of projects :
INCLUDEPATH += /usr/include/opencv
INCLUDEPATH += /usr/include/opencv
LIBS += -L/usr/lib -lopencv_core -lopencv_highgui and .........(my opencv installed files are in that directory)
but my project doesnt work still . should i do other works ?3- may anyone puts a project with opencv in Qt that i test it and i learn how should i fix it?
-
Hi,
1 - Up to you to decide, try both QWidget and QtQuick. Console won't help since it's for command line application.
2 - What doesn't work ? It doesn't build ? It doesn't start ? Have a look at pkg-config (also in Qt doc) that will simplify things for you
-
U can see the source code of my Application 'Wallch'. We used opencv for the 'Take Webcam Image' feature.
Link: http://sourceforge.net/projects/wall-changer/files/?source=navbar
download the wallch-3.01.tar.gz -
[quote author="Leon" date="1361292707"]U can see the source code of my Application 'Wallch'. We used opencv for the 'Take Webcam Image' feature.
Link: http://sourceforge.net/projects/wall-changer/files/?source=navbar
download the wallch-3.01.tar.gz[/quote]error :
package libnotify not found ! -
[quote author="Leon" date="1361295831"]The packages you must install from Synaptic package manager are:
libnotify-dev
libunity-core-6.0-dev
libexif-dev
libkeybinder-dev
libopencv-devtell me if this helped you ;)[/quote]
oh i didnt see this post . let me to try it and i will tell about result
-
Contact me at leon.vitanos@gmail.com, but be a little more detailed in your questions ;)
-