[Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7
bruce.cichowlas at nokia.com
bruce.cichowlas at nokia.com
Thu Jul 22 03:14:59 CEST 2010
My understanding may be wrong, but I am thinking that the version of Qt 4.7 that I am using on the N900 is relatively new because I am thinking that it came within this .deb file in the extras-devel repository
libqt4-experimental-core_4.7.0~git20100706-0maemo1_armel.deb
which I downloaded from
http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/libqt4-experimental-core/4.7.0~git20100706-0maemo1/
That was the most recent qt4-experimental build I could find there yesterday. I am guessing that it was current as of 2010/07/06 , but perhaps not if it was included from somewhere else.
I'm not using C++ in conjunction with my QML currently. I've just running from QMLViewer on the N900 and by pressing F5 in QtCreator.
I thought that I was using the most recent beta build of QtCreator. There only appeared to be one available last time I checked that supported both 4.7 and QML. It seemed a little confusing because even though I downloaded using a link that said something like beta 2.0.1, when it installed, it called itself 1.83 if I recall correctly. (I'm writing this from another computer at another location.) But I don't mean to make a big issue over the PC/N900 slight changes in source. My main concern is to see actual web pages within WebView on the N900 using just QML. It sounds as if others here are successful at doing that, though I don't recall anyone saying directly that they did it on 4.7 on the N900 using only QML.
Thanks,
Bruce
________________________________________
From: Allison Warwick (Nokia-MS-Qt/Brisbane)
Sent: Wednesday, July 21, 2010 7:17 PM
To: ext Sacha Zyto; Cichowlas Bruce (Nokia-MS/Boston)
Cc: qt-qml at trolltech.com; Piedra Nancy (Nokia-MS/Boston); Walsh Alan (Nokia-MS/Boston)
Subject: RE: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7
> import org.webkit 1.0 //_QML
> //_CPP import QtWebKit 1.0
Just use a new enough build of Qt 4.7 on both and you'll not have to do this.
The module is called "QtWebKit" for the 4.7.0 release. It was called "org.webkit" in some past beta release.
--
Warwick
More information about the Qt-qml
mailing list