Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Is Qt Mobility comes in built with Complete Nokia SDK?
Forum Updated to NodeBB v4.3 + New Features

Is Qt Mobility comes in built with Complete Nokia SDK?

Scheduled Pinned Locked Moved Installation and Deployment
34 Posts 6 Posters 19.4k 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.
  • N Offline
    N Offline
    nsit_yogesh
    wrote on last edited by
    #1

    Hi everyone,

    I was looking to integrate Qt Mobility1.1 with Complete Nokia SDK but after reading some posts I have come to know that Qt Mobility comes in built with it. With this much of knowledge I tried to run an Audio Recorder Example but it gave an error: qmediarecorder.h , No such file or directory.
    If it doesn't come inbuilt with it then how should I proceed?

    Yogesh

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alexander
      wrote on last edited by
      #2

      Nokia SDK contains QtMobility 1.0.2.
      Are you get the error while try to build example in QtCreator?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nsit_yogesh
        wrote on last edited by
        #3

        Actually, I created a new project and copied the code of audio-recorder from Qt Mobility project Reference Documentation and then I got this error after running it.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vcsala
          wrote on last edited by
          #4

          Have you added

          @CONFIG += mobility@

          and specified the required component in your project file?

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nsit_yogesh
            wrote on last edited by
            #5

            no

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vcsala
              wrote on last edited by
              #6

              This is the .pro file of the audiorecorder, yours should be the same:

              @TEMPLATE = app
              CONFIG += example

              INCLUDEPATH += ../../src/multimedia ../../src/multimedia/audio
              include(../examples.pri)
              
              CONFIG += mobility
              MOBILITY = multimedia
              
              QMAKE_RPATHDIR += $$DESTDIR
              
              HEADERS = \
                  audiorecorder.h
              
              SOURCES = \
                  main.cpp \
                  audiorecorder.cpp
              
              maemo*: {
                  FORMS += audiorecorder_small.ui
              } else {
                  FORMS += audiorecorder.ui
              }
              
              symbian: {
                  TARGET.CAPABILITY = UserEnvironment ReadDeviceData WriteDeviceData
              }
              

              @

              1 Reply Last reply
              0
              • N Offline
                N Offline
                nsit_yogesh
                wrote on last edited by
                #7

                There is one more thing..I need an audio recorder in an app for a Maemo device. So I found Qt Mobility to be right choice to work with. But there is one issue with regards to Mobility1.0.x as they are not compatible enough for Maemo. Correct me if I am wrong anywhere.

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  vcsala
                  wrote on last edited by
                  #8

                  According to the platform compatibility chart it is fully compatible but the multimedia module is still in beta stage.

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nsit_yogesh
                    wrote on last edited by
                    #9

                    ok..so platform compatibility will not be a problem..

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kamalakshantv
                      wrote on last edited by
                      #10

                      [quote author="nsit_yogesh" date="1293107647"]ok..so platform compatibility will not be a problem..[/quote]

                      yes, it should not be a problem.

                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        nsit_yogesh
                        wrote on last edited by
                        #11

                        Now I am getting an error after changing my .pro file":: error: No rule to make target audiorecorder.ui', needed by ui_audiorecorder.h'. Stop." ?????

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          kamalakshantv
                          wrote on last edited by
                          #12

                          check if audiorecorder.ui file exists in the right path

                          1 Reply Last reply
                          0
                          • N Offline
                            N Offline
                            nsit_yogesh
                            wrote on last edited by
                            #13

                            Can you please let me know if any dependencies still needs to fulfilled like installing Gstreamer and others..?

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              kamalakshantv
                              wrote on last edited by
                              #14

                              [quote author="nsit_yogesh" date="1293112513"]Can you please let me know if any dependencies still needs to fulfilled like installing Gstreamer and others..?[/quote]

                              If you have not modified the example and the SDK's are installed properly it should have worked fine.

                              1 Reply Last reply
                              0
                              • N Offline
                                N Offline
                                nsit_yogesh
                                wrote on last edited by
                                #15

                                No there was no problem in installing(it was simply downloading for my Linux32 and installing by next>next..) and in fact I copied the code as it is from the examples.I was looking if there is need for audiorecorder.ui file created while creating the new project from Qt GUI Application.

                                1 Reply Last reply
                                0
                                • N Offline
                                  N Offline
                                  nsit_yogesh
                                  wrote on last edited by
                                  #16

                                  Now I am getting errors like

                                  1. qmediarecorder.h: No such file or directory
                                    2)‘QMediaRecorder’ has not been declared
                                    3)‘QAudioEncoderSettings’ does not name a type
                                  1 Reply Last reply
                                  0
                                  • N Offline
                                    N Offline
                                    nsit_yogesh
                                    wrote on last edited by
                                    #17

                                    after including .ui file as described by you in the above posts

                                    1 Reply Last reply
                                    0
                                    • K Offline
                                      K Offline
                                      kamalakshantv
                                      wrote on last edited by
                                      #18

                                      [quote author="nsit_yogesh" date="1293114510"]after including .ui file as described by you in the above posts[/quote]

                                      I had compiled that example and it worked fine for for me. I had tried it with Nokia Qt SDK installed on Windows platform. No other changes were made.

                                      P.S. You can edit your post. No need to post it in separate posts. It would be easier to read and understand.

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        maciej
                                        wrote on last edited by
                                        #19

                                        Seems that by trying to update Mobility you've removed some of old files. Search if you have these in place. If not try to reinstall SDK.

                                        Earth is a beta site.

                                        1 Reply Last reply
                                        0
                                        • N Offline
                                          N Offline
                                          nsit_yogesh
                                          wrote on last edited by
                                          #20

                                          Apology for the poor sense of responding..Now Firstly I have Qt on Linux and secondly can you let me know whether you compiled it by creating a new project and copying the code from reference documentation OR was there any audiorecorder example already there in SDK and you run it directly because I could not find any such example. Finally if you copied the code then can you elaborate the steps in creating the project, yes this is pretty weird but It could be a reason due to lack of knowledge currently in Qt.

                                          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