Qt 5.1 and QtMobility on Android question
-
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.
-
Unfortunately Qt Mobility is not present in Qt 5.
-
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?
-
-
It's possible to use ANY C++ API in Qt applications :)