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
    #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
                                  • M Offline
                                    M Offline
                                    maciej
                                    wrote on last edited by
                                    #21

                                    OK. I think we need to clear things up a bit. You're using Nokia Qt SDK.

                                    1. Are you using also desktop edition (and which, i.e version, from source/distribution package or Qt SDK).
                                    2. How did you upgraded Mobility
                                    3. Are you using
                                      @
                                      CONFIG += mobility
                                      MOBILITY += multimedia
                                      @ in a .pro file and
                                      @
                                      QTM_USE_NAMESPACE
                                      @ macro in sources.

                                    Earth is a beta site.

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

                                      If gitorious will be up again you can download the examples from "here":http://qt.gitorious.org/qt-mobility/contacts/trees/master/examples (these are for maemo and generally you can even try them by installing the qt-mobility-examples package for your N900 or into the scratchbox).

                                      [EDIT] I have corrected the link (while gitorious was down I was not able to test the former one which, as I found out, was wrong.

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

                                        [quote author="maciek" date="1293127459"]OK. I think we need to clear things up a bit. You're using Nokia Qt SDK.

                                        1. Are you using also desktop edition (and which, i.e version, from source/distribution package or Qt SDK).---I have no idea about desktop edition, so probably there won't be any , I simply downloaded the offline version(Linux 32) of SDK for my PC
                                        2. How did you upgraded Mobility---I did try to update but then I reinstalled it and now I am getting all these problems only after reinstalling.
                                        3. Are you using
                                          @
                                          CONFIG += mobility--Yes
                                          MOBILITY += multimedia---Yes
                                          @ in a .pro file and
                                          @
                                          QTM_USE_NAMESPACE
                                          @ macro in sources.[/quote]----I found this macro written in the code(audiorecorder.h) rest I have no idea about sources
                                        1 Reply Last reply
                                        0
                                        • K Offline
                                          K Offline
                                          kamalakshantv
                                          wrote on last edited by
                                          #24

                                          [quote author="nsit_yogesh" date="1293126939"]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.[/quote]

                                          Oh that might be the reason. Download the example from the gitorious link mentioned above by VCsala

                                          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