Regarding demo webcamera appliction in qt 3.2.2 on fedora 20
-
Sir i am doing what you have told.
It shows error in ui_main_ui file that for include statement of "qcameraviewfinder.h". To solve this i locate this file and add path forr this file for QT5. Then it showing error for diffrent header files.
ui_main_ui:-
A. qcamerafinder.h:-
1.qmediacontrol.h:-
i. qmediacontrol.h
2.qmediaobjects.h:-
i. qtmultimediadefs.h
ii.qmultimedia.h:-
a. qtmultimediadefs.h
3.qmediaservice.h:-
i. qtmultimediadefs.h
ii.qmediacontrol.h
4. qvideowidget.h:-
i.qwidget.h
ii. qtmultimediawidgetdefs.h
iii.qmediabindableinterface.h:-
a. qmediaobject.hAbove .h files problem came. I locate this files and add path for it(Select QT5 file)
Now i got the last error for viewfinder which is unsolved yet for line
"viewfinder = new QCameraviewfinder(tab);"Error as undefined refarance to viewfinder
Can any body tell me how to solve this?
-
What version of Qt are you getting this code from ? And what exact version of Qt are you using ?
-
Did you properly install your system Qt for development ?
-
sir, i have done recording video and capturing video by using following code. I just call this code by using slots of "capture image" and "record a video":
// For Video:-
system("ffmpeg -f video4linux2 -i /dev/video0 -vcodec mpeg4 -b 12000k -r 25 -t 00:00:55 test12.avi");//For image capture:-
system("fswebcam -s 15 --jpeg 95 --save /abasfc.jpeg");Sir, i just want view this particular item on GUI at the time of capturing image and recording video.. How to do that?
thanks in advance... -
Either grab the Qt SDK installer or use Fedora's package manager to install Qt.