Regarding demo webcamera appliction in qt 3.2.2 on fedora 20
-
wrote on 20 May 2015, 12:13 last edited by
Hi all,
I am new in qt. I am using qt 3.2.2 in fedora 20. I have to use this version only. Can any one tell me how to create demo webcamera application that capture images and video in qt 3.2.2? Thanks in advance. Please help me friends...
-
Hi and welcome to devnet,
AFAIR, there was no multimedia module in Qt 3. So you would have to reimplement that part yourself. Out of curiosity, why are you locked to a Qt version that is 12 years old ?
-
wrote on 21 May 2015, 05:38 last edited by
Thanks SGaist and Jean for your replay.
Sir, I have to use a "QT creator 3.2.2" only for my application. As it is running on Fedora 15.
So, "How to re-implement that part in qt3.3.3?" or "Is there any other solution that supports fedora 15?"
Thanks in advance...guide me to complete this functionality. -
Hi and welcome to devnet,
AFAIR, there was no multimedia module in Qt 3. So you would have to reimplement that part yourself. Out of curiosity, why are you locked to a Qt version that is 12 years old ?
wrote on 21 May 2015, 05:48 last edited by@SGaist Thanks Sir for your replay.
Sir, I have to use a "QT creator 3.2.2" only for my application. As it is running on Fedora 15.
So, "How to re-implement that part in qt3.3.3?" or "Is there any other solution that supports fedora 15?"
Thanks in advance...guide me to complete this functionality. -
wrote on 21 May 2015, 06:10 last edited byThis post is deleted!
-
wrote on 21 May 2015, 08:24 last edited by
Hi,
You could try the Camera example http://doc.qt.io/qt-5/qtmultimediawidgets-camera-example.html
or the QML camera example http://doc.qt.io/qt-5/qtmultimedia-declarative-camera-example.htmlBoth come with the examples in Qt 5.
-
wrote on 21 May 2015, 10:22 last edited by
Thank you sir,
Sir,
Right now i am trying this example. It Showing multiple error for header files. I added complete path for this header file then it resolve it. Sir, Suppose "one.h" showing error then i add complete path it resolves. But after some time it shows error in the "One.h" included header file. I also solve that.. But now system give errors in the code of that example in each line...So can you send me small demo application on my mail "dangat123suraj@gmail.com" . please sir....Help me to solve this problem...thanks in advance. -
wrote on 21 May 2015, 13:07 last edited by
Try copying the example from the examples folder to your development folder. This sometimes helps with path issues, as then the project file should have correct paths.
-
wrote on 22 May 2015, 05:12 last edited by
k sir, i will try this, right now. thank you...
-
wrote on 22 May 2015, 09:53 last edited by
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 ?
-
wrote on 25 May 2015, 04:52 last edited by Suraj
Sir,
I am using QT Creator 3.2.2
and it is based on Qt versions 4.8.6 in path(system)
compiler= Gcc (x86 32 bit in /usr/lib/ccache)
debugger = system GDB at /usr/bin/gdb -
Did you properly install your system Qt for development ?
-
wrote on 27 May 2015, 04:12 last edited by
SIR, HOW TO CHECK AND INSTALL PROPER QT AND QT CREATOR?
-
wrote on 27 May 2015, 07:04 last edited by
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.
-
Hi all,
I am new in qt. I am using qt 3.2.2 in fedora 20. I have to use this version only. Can any one tell me how to create demo webcamera application that capture images and video in qt 3.2.2? Thanks in advance. Please help me friends...
wrote on 5 Jun 2015, 05:44 last edited byThanks all.