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. Qt 5.1 and QtMobility on Android question

Qt 5.1 and QtMobility on Android question

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 4 Posters 3.7k 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.
  • 3 Offline
    3 Offline
    39dotyt
    wrote on last edited by
    #1

    Hello.

    I am starting developing Android application with Qt 5.1 (SDK downloaded from qt-project.org).

    I want to use Map component from QtMobility.location 1.2, as described in commnets in pro-file, I am added:

    @CONFIG += mobility
    MOBILITY += location@

    And this is my main.qml file: https://github.com/39dotyt/android-qml-qt5-test/blob/master/qml/android-qt5-test2/main.qml

    But, when I am trying to launch this application, I am receive error: "Module QtMobility.location not found".

    What am I doing wrong?

    Also, when I am trying to use WebKit 3.0 and WebView, I am adding:

    QT += webkit in pro-file,

    but when compiling I am receive "No module found (webkit)" error.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Unfortunately Qt Mobility is not present in Qt 5.

      http://anavi.org/

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi,

        Qt Mobility has been deprecated in Qt 5. It has been split up and merged into other modules. For example, Qt Mobility's "Multimedia Kit" has been merged into the main "Qt Multimedia" module.

        The location classes are now in the "Qt Location" module. Unfortunately, that module is not ready for release yet.

        Are you trying to compile WebKit for Android or PC?

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • 3 Offline
          3 Offline
          39dotyt
          wrote on last edited by
          #4

          Thank you. What about Qt Location? Would it be ready in 5.2? When is 5.2 release date?

          I am trying to compile WebKit for Android.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            amccarthy
            wrote on last edited by
            #5

            Qt Location is targeted to be released with Qt 5.2. In the mean time you can build it yourself and deploy it with your application.

            Note there is no positioning backend for Android. If you require positioning you will have to use native Android APIs.

            1 Reply Last reply
            0
            • 3 Offline
              3 Offline
              39dotyt
              wrote on last edited by
              #6

              [quote author="amccarthy" date="1378345051"]Note there is no positioning backend for Android. If you require positioning you will have to use native Android APIs.[/quote]

              Is it possible to use native Andorid API in Qt 5.1 application?

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                It's possible to use ANY C++ API in Qt applications :)

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • 3 Offline
                  3 Offline
                  39dotyt
                  wrote on last edited by
                  #8

                  It's perfect)

                  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