QT5.2 Android Build - Unknown module(s) in QT: webkitwidgets webkit
-
I am playing around with building QT apps with QT5 for Android armeabi-v7a. My test app uses both webkit and webkitwidgets as I am using and maniuplating WebKit components from C++.
When I run qmake from the folder with .pro file or when I try building from qtCreator I get the following error:
@* :-1: error: Unknown module(s) in QT: webkitwidgets webkit@Any ideas?
My build environment is
- Windows 7
- QT 5.2.0
-
Hi,
Qt WebKit is not supported on Android, unfortunately: http://www.kdab.com/qt-on-android-episode-1/
However, in a future release, it could be possible to mix the native Android WebView with Qt: http://www.kdab.com/future-qt-android-looks-bright/
-
Hi JKSH,
Thanks for the informative post. The articles are very good reads. Some really bright and motivated folks out there ;) I'm very glad to see that Android WebKit may be possible in the near future.
Hopefully the the solutions the come up with to get QtWebKit working on Android can be used to get Chromium based QtWebEngine by the time that it project matures to a 1.0 release.
-
[quote]Some really bright and motivated folks out there ;)[/quote]Agreed! :)
-
Till Qt 5.3 i did not found webkit support for android. But there has home at near future. Details at http://www.kdab.com/qt-on-android-episode-1/
-
[quote author="masum" date="1411979770"]Till Qt 5.3 i did not found webkit support for android. But there has home at near future. Details at http://www.kdab.com/qt-on-android-episode-1/[/quote]Qt WebKit is getting deprecated soon. It will never be supported on Android.
For desktop platforms, focus is being shifted to the Qt WebEngine module, which will replace Qt WebKit. See http://blog.qt.digia.com/blog/2014/05/13/news-from-the-qt-webengine-team/
For mobile platforms, there will be a new way to use native WebView. A tech preview for this feature will be available around the Qt 5.4 release date. See Eskil Abrahamsen Blomfeldt's comment on 9 September at http://blog.qt.digia.com/blog/2014/09/08/qt-5-4-alpha-available/