Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Regarding demo webcamera appliction in qt 3.2.2 on fedora 20
Forum Updated to NodeBB v4.3 + New Features

Regarding demo webcamera appliction in qt 3.2.2 on fedora 20

Scheduled Pinned Locked Moved General and Desktop
18 Posts 4 Posters 5.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SurajS Offline
    SurajS Offline
    Suraj
    wrote on last edited by
    #1

    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...

    SurajS 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      SurajS 1 Reply Last reply
      0
      • J Offline
        J Offline
        Jean
        wrote on last edited by
        #3

        Hi @Suraj ,

        Are you sure to use QT version 3.3.2 not to use QT Creator 3.3.2?

        1 Reply Last reply
        0
        • SurajS Offline
          SurajS Offline
          Suraj
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • SGaistS SGaist

            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 ?

            SurajS Offline
            SurajS Offline
            Suraj
            wrote on last edited by
            #5

            @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.

            1 Reply Last reply
            0
            • SurajS Offline
              SurajS Offline
              Suraj
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • tekojoT Offline
                tekojoT Offline
                tekojo
                wrote on last edited by
                #7

                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.html

                Both come with the examples in Qt 5.

                1 Reply Last reply
                0
                • SurajS Offline
                  SurajS Offline
                  Suraj
                  wrote on last edited by
                  #8

                  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.

                  1 Reply Last reply
                  0
                  • tekojoT Offline
                    tekojoT Offline
                    tekojo
                    wrote on last edited by
                    #9

                    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.

                    1 Reply Last reply
                    0
                    • SurajS Offline
                      SurajS Offline
                      Suraj
                      wrote on last edited by
                      #10

                      k sir, i will try this, right now. thank you...

                      1 Reply Last reply
                      0
                      • SurajS Offline
                        SurajS Offline
                        Suraj
                        wrote on last edited by
                        #11

                        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.h

                        Above .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?

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          What version of Qt are you getting this code from ? And what exact version of Qt are you using ?

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • SurajS Offline
                            SurajS Offline
                            Suraj
                            wrote on last edited by Suraj
                            #13

                            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

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              Did you properly install your system Qt for development ?

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • SurajS Offline
                                SurajS Offline
                                Suraj
                                wrote on last edited by
                                #15

                                SIR, HOW TO CHECK AND INSTALL PROPER QT AND QT CREATOR?

                                1 Reply Last reply
                                0
                                • SurajS Offline
                                  SurajS Offline
                                  Suraj
                                  wrote on last edited by
                                  #16

                                  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...

                                  1 Reply Last reply
                                  0
                                  • SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #17

                                    Either grab the Qt SDK installer or use Fedora's package manager to install Qt.

                                    Interested in AI ? www.idiap.ch
                                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply
                                    0
                                    • SurajS Suraj

                                      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...

                                      SurajS Offline
                                      SurajS Offline
                                      Suraj
                                      wrote on last edited by
                                      #18

                                      Thanks all.

                                      1 Reply Last reply
                                      0

                                      • Login

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups
                                      • Search
                                      • Get Qt Extensions
                                      • Unsolved