Compiling QtWebView (Tech Preview)
I'm trying compile "qtwebview":https://qt.gitorious.org/qt/qtwebview for Android, announced "here":http://blog.qt.digia.com/blog/2014/08/20/adding-lgpl-v3-to-qt/?utm_source=rss&utm_medium=rss&utm_campaign=adding-lgpl-v3-to-qt on Windows.
After "mingw32-make install", everything seems ok.
But QtCreator doesn't recognize "import QtWebView 1.0".
I haven't tested yet the qml part and it might be a silly question but did you add QT += webview in your pro file ?
Hey, I have the same problems on linux! QML is still not working?
build qtwebview from scratch, added webview to pro ...
what I am doing wrong? :)
hey could you explain how you compile it at all? i didnt add a new submodule yet, what i tried is the following:
i have my Qt5.4 sources in C:\Qt\Qt5.4\src. i added the qtwebview in the same folder.
this brings up the following error for me:
@make (e=2): The system cannot find the file specified.
Makefile:2635: recipe for target '.obj/qwebview_android.obj' failed
mingw32-make: *** [.obj/qwebview_android.obj] Error 2
mingw32-make: Leaving directory 'C:/Qt/Qt5.4/src/qtwebview/src/webview'
Makefile:44: recipe for target 'sub-webview-make_first' failed
mingw32-make: *** [sub-webview-make_first] Error 2
mingw32-make: Leaving directory 'C:/Qt/Qt5.4/src/qtwebview/src'
Makefile:43: recipe for target 'sub-src-make_first' failed
mingw32-make.exe: *** [sub-src-make_first] Error 2@
Where did you got your version of QtWebView ?
[quote author="SGaist" date="1410291464"]Where did you got your version of QtWebView ?[/quote]
I'm having the same problem, i can't build QtWebView for android.
It builds ok on win desktop though...
I haven’t tested yet the qml part and it might be a silly question but did you add QT += webview in your pro file ?
If I start a new project, put in .pro, QtCreator shows an error at line "import QtWebView 1.0": QML module does not contain information about components contained in plugins. Module path: ..........)
!http://s14.postimg.org/vgxg8zt2p/screenshot_33.png(Before load qtwebview project)!
But If I load the qtwebview project in QtCreator, the error dissapear:
Look at the deploy dir (in my case c:\Quati\develop\build\qt5.4\android_armv7\qml\QtWebView), the file plugins.qmltypes is missing.
Did you call make install after building ?
bq. Did you call make install after building ?