Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] how can i install Qt-mobility on meego n950.

[Solved] how can i install Qt-mobility on meego n950.

Scheduled Pinned Locked Moved Mobile and Embedded
24 Posts 3 Posters 7.9k Views
  • 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.
  • D Offline
    D Offline
    DanSiddiqui
    wrote on 14 Sept 2011, 05:09 last edited by
    #1

    I want to install mobility on meego m950 device
    i found following guide to install
    http://developer.qt.nokia.com/wiki/How_to_Install_Qt_Mobility_on_MeeGo
    it but when i am running following command
    sudo zypper addrepo http://download.meego.com/live/devel:/qt-mtf:/qt-mobility:/1.2tp1/testing/ mobility-1.2-tp1
    it shows me sudo not found and when i replace sudo with su then it shows
    unknown user zypper.

    please tell me the easiest way to install Qt mobility on N950.

    [Alicemirror: set to solved this thread because it is evident. Should be done by the owners of the thread]

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on 14 Sept 2011, 05:49 last edited by
      #2

      Please note that "this wiki article":http://developer.qt.nokia.com/wiki/How_to_Install_Qt_Mobility_on_MeeGo was written before the launch of MeeGo Harmattan and it is valid only for devices with pure MeeGo OS. I have updated the article to avoid any confusion in future.

      Nokia N950 and N9 should have Qt Mobility installed out of the box and I believe you don't have to install anything.

      http://anavi.org/

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alicemirror
        wrote on 14 Sept 2011, 05:49 last edited by
        #3

        Hi,

        I have read the page and it seems not so clear to me too. I have added a little integration with the link to the Qt Labs : http://labs.qt.nokia.com/2011/05/12/qt-mobility-1-2-0-released/ where there are more details about the last Qt Mobility release and the installation instruction on Meego. Hope this can help you.

        Enrico Miglino (aka Alicemirror)
        Balearic Dynamics
        Islas Baleares, Ibiza (Spain)
        www.balearicdynamics.com

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DanSiddiqui
          wrote on 14 Sept 2011, 06:03 last edited by
          #4

          @leon.anavi thanks bro, but i don't think QtMobility installed on N950.

          @Alicemirror thanks bro, I am very new for linux based devices so plz define how can i install it to my n950 devices because i said before following errors is occuring while i am running sudo commands.
          sudo not found
          unknown user zypper.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Alicemirror
            wrote on 14 Sept 2011, 06:10 last edited by
            #5

            Hi,

            As I know, you should ignore the wiki page, that as Leon has explained refers to the Meego OS (=another kind of devices).

            Regarding Qt Mobility, your N950 is the target device, so if you install Qt Mobility on your development platform (i.e. Harmattan or Symbian) the application is packaged with the needed libraries on the device.

            As I know, you should do nothing on Harmattan then compile to application from your pc and deploy it on the device.

            Enrico Miglino (aka Alicemirror)
            Balearic Dynamics
            Islas Baleares, Ibiza (Spain)
            www.balearicdynamics.com

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Alicemirror
              wrote on 14 Sept 2011, 06:12 last edited by
              #6

              FYI: Leon has gently updated the wiki page with the following note:

              Qt Mobility is compatible with MeeGo OS. Please note that this tutorial affects devices (netbooks and tablets) with MeeGo and it is not appropriate for MeeGo Harmattan devices (Nokia N9 and Nokia N950).

              Hope this will clear your question. If any don't esistate to ask.

              Enrico Miglino (aka Alicemirror)
              Balearic Dynamics
              Islas Baleares, Ibiza (Spain)
              www.balearicdynamics.com

              1 Reply Last reply
              0
              • D Offline
                D Offline
                DanSiddiqui
                wrote on 14 Sept 2011, 06:21 last edited by
                #7

                @Alicemirror it is not appropriate for MeeGo Harmattan devices (Nokia N9 and Nokia N950)
                What does it means? Is QtMobility already installed on N950? or will it install through other way?
                Becuase I am developing project for Nokia N950.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Alicemirror
                  wrote on 14 Sept 2011, 06:32 last edited by
                  #8

                  The libraries that you install are on your development device i.e. windows or linux or Mac machine. Then the compilation creates a package including all the components needed to your application.

                  it seemed very strange to me the need to install something on the N950 enabling the application to run :)

                  There is only a slight difference on symbian devices where you can decide to install the package only and the libraries and components as a separate package or all together controlled by the smartinstaller package.

                  I think that to use Qt Mobility on N950 you should update your Qt SDK with the Mobility components and compile + package + deploy your application on the device.

                  Enrico Miglino (aka Alicemirror)
                  Balearic Dynamics
                  Islas Baleares, Ibiza (Spain)
                  www.balearicdynamics.com

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    leon.anavi
                    wrote on 14 Sept 2011, 06:35 last edited by
                    #9

                    [quote author="DanSiddiqui" date="1315980225"]@leon.anavi thanks bro, but i don't think QtMobility installed on N950.[/quote]

                    Qt Mobility is installed on N9 and N950 you can check the "official information about Nokia N9":http://www.developer.nokia.com/Devices/MeeGo/:

                    bq. Qt Mobility 1.2.0 — adding support for Bluetooth and NFC technology.

                    Btw as a proof that Qt Mobility is present on N950/N9 - I have already developed and published at Ovi location2sms an app using Qt Mobility that is running on MeeGo Harmattan devices and I did not have to install anything additionally.

                    http://anavi.org/

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Alicemirror
                      wrote on 14 Sept 2011, 06:41 last edited by
                      #10

                      @leon: I thought this but I was unsure. I have not found the link. BTW for him I think that nothing changes. He should install all the components on his development environment for compilation and linking then all goes right. Is it true ?

                      Enrico Miglino (aka Alicemirror)
                      Balearic Dynamics
                      Islas Baleares, Ibiza (Spain)
                      www.balearicdynamics.com

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        DanSiddiqui
                        wrote on 14 Sept 2011, 06:45 last edited by
                        #11

                        Ok its great if Qt will installed automatically Qt libararies or API.but i am sure about it.
                        One more Question I have lots of project which i developed for Symbian^3 devices, when i opened it for Harmattan device it is not getting the includes files.
                        with error message= No such File or Directory
                        #include <QMessageBox> //No such File or Directory
                        #include <QSqlDatabase>//No such File or Directory

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          leon.anavi
                          wrote on 14 Sept 2011, 06:48 last edited by
                          #12

                          [quote author="Alicemirror" date="1315982477"]He should install all the components on his development environment for compilation and linking then all goes right. Is it true ?[/quote]

                          Yes, absolutely.

                          @DanSiddiqui please follow Alicemirror's advice about the development environment. If you do everything fine you should be able to port your pure Qt applications for Symbian^3 to MeeGo Harmattan easily.

                          http://anavi.org/

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            DanSiddiqui
                            wrote on 14 Sept 2011, 06:50 last edited by
                            #13

                            Thanks leon.anavi , Plz tell me the source code project or any example project
                            for harmattan device(N950).so i will check it on my N950 device which includes mobility API.
                            if you url plz tell me i will download it on my PC.

                            1 Reply Last reply
                            0
                            • D Offline
                              D Offline
                              DanSiddiqui
                              wrote on 14 Sept 2011, 06:52 last edited by
                              #14

                              so why error displaying on my .cpp files:
                              error message= No such File or Directory
                              #include <QMessageBox> //No such File or Directory
                              #include <QSqlDatabase>//No such File or Directory

                              1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                Alicemirror
                                wrote on 14 Sept 2011, 06:52 last edited by
                                #15

                                @DanSiddiqui: please tell us what development platform you are using.

                                From Windows you should go in the program manager / Qt sdk / and launch the Qt mainteiner or updater. See if you have installed the Qt Mobility library or if your library should be updated. Please note that it is possible that some components (following the indications in the labs blog about releases) with Qt 4.7.4 part of the development environment will be found in the experimental section. Then see what is your actual development environment configuration, what components you have installed. It is possible that something goes wrong just because you have not all what you need.

                                Enrico Miglino (aka Alicemirror)
                                Balearic Dynamics
                                Islas Baleares, Ibiza (Spain)
                                www.balearicdynamics.com

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  Alicemirror
                                  wrote on 14 Sept 2011, 06:58 last edited by
                                  #16

                                  [quote author="DanSiddiqui" date="1315983141"]so why error displaying on my .cpp files:
                                  error message= No such File or Directory
                                  #include <QMessageBox> //No such File or Directory
                                  #include <QSqlDatabase>//No such File or Directory[/quote]

                                  You see this error just because the related libraries and components your need in your SDK are not installed. This is NOT a problem on your device, it is a problem of your development environment on your PC.

                                  Enrico Miglino (aka Alicemirror)
                                  Balearic Dynamics
                                  Islas Baleares, Ibiza (Spain)
                                  www.balearicdynamics.com

                                  1 Reply Last reply
                                  0
                                  • L Offline
                                    L Offline
                                    leon.anavi
                                    wrote on 14 Sept 2011, 07:03 last edited by
                                    #17

                                    [quote author="DanSiddiqui" date="1315983054"]Thanks leon.anavi , Plz tell me the source code project or any example project
                                    for harmattan device(N950).so i will check it on my N950 device which includes mobility API.
                                    if you url plz tell me i will download it on my PC. [/quote]

                                    Please check "this tutorial about porting applications to Harmattan":http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Reference_documentation_Porting_applications_to_Harmattan.html I strongly recommend also reading the rest of the "MeeGo 1.2 Harmattan Developer Library":http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_MeeGo_1.2_Harmattan_Developer_Library.html

                                    http://anavi.org/

                                    1 Reply Last reply
                                    0
                                    • A Offline
                                      A Offline
                                      Alicemirror
                                      wrote on 14 Sept 2011, 07:05 last edited by
                                      #18

                                      Yep, I think that you should have your ideas a bit more clear on how the entire system architecture for development works.

                                      Enrico Miglino (aka Alicemirror)
                                      Balearic Dynamics
                                      Islas Baleares, Ibiza (Spain)
                                      www.balearicdynamics.com

                                      1 Reply Last reply
                                      0
                                      • D Offline
                                        D Offline
                                        DanSiddiqui
                                        wrote on 14 Sept 2011, 07:15 last edited by
                                        #19

                                        I have the lastes Qt sdk when i run updater it shows me "no update availabel". I have Qt 4.7.4
                                        having mobility 1.1.3.

                                        it work fine when i select simualtor on left panel project tab all
                                        #include find on QTcreatorbut i select Harmattan to build it shows me underline having message
                                        No such File or Directory

                                        1 Reply Last reply
                                        0
                                        • A Offline
                                          A Offline
                                          Alicemirror
                                          wrote on 14 Sept 2011, 07:34 last edited by
                                          #20

                                          You should not check for update (4.7.4 for now is the last) but for maintain and see if all your components are installed, including Mobility - I think - you find in the experimental section. This section will be installed only if you select a custom installation so it is possible that you have not done it when installed your first version of Qt 4.7.4

                                          Then, you mention the simulator. Simulator is for symbian devices, and QEMU (formerly emulator) if for Harmattan and Meego (linux) devices.

                                          Then please read the previous posts, we asked you what platform are you using etc. This questions are useful to understand what can be wrong in your configuration, if any.

                                          Enrico Miglino (aka Alicemirror)
                                          Balearic Dynamics
                                          Islas Baleares, Ibiza (Spain)
                                          www.balearicdynamics.com

                                          1 Reply Last reply
                                          0

                                          9/24

                                          14 Sept 2011, 06:35

                                          topic:navigator.unread, 15
                                          • Login

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