Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-22 Thread Martin Jones
_______ > From: qt-qml-boun...@trolltech.com [qt-qml-boun...@trolltech.com] On Behalf > Of Cichowlas Bruce (Nokia-MS/Boston) Sent: Thursday, July 22, 2010 12:32 > PM > To: qt-qml@trolltech.com > Subject: Re: [Qt-qml] Trying hard to get WebView to work from a Q

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-22 Thread bruce.cichowlas
until I have a solution for getting the url's to render properly directly. Bruce From: qt-qml-boun...@trolltech.com [qt-qml-boun...@trolltech.com] On Behalf Of Cichowlas Bruce (Nokia-MS/Boston) Sent: Thursday, July 22, 2010 12:32 PM To: qt-qml@trolltech.com Subject: R

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-22 Thread bruce.cichowlas
Zyto [sa...@mit.edu] Sent: Thursday, July 22, 2010 10:57 AM To: Cichowlas Bruce (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 Hi Bruce, Sorry for the misunderstanding. I've been using libqt4-experimental-dev from ex

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-22 Thread Sacha Zyto
Hi Warwick, On 07/21/2010 07:17 PM, warwick.alli...@nokia.com wrote: >> 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 > "o

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-21 Thread Kai Koehne
On 7/22/2010 3:14 AM, Cichowlas Bruce (Nokia-MS/Boston) wrote: > 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-experim

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-21 Thread bruce.cichowlas
ia-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 "QtWeb

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-21 Thread warwick.allison
> 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

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-21 Thread Sacha Zyto
Hi Bruce, About the org.webkit 1.0 vs QtWebkit 1.0 (and more generally code that differs from what you run w/ qmlviewer and embed inside a C++ Qt app, I've personnally found that the following trick helps: In your qml code, add comments such as import org.webkit 1.0 //_QML //_CPP import QtWebK

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-21 Thread bruce.cichowlas
I discovered that I needed two specific lines in my QML to run WebView on my N900, like this: import Qt 4.7 import QtWebKit 1.0 Item { Rectangle { height:30 color:"red" width:parent.width anchors.top : parent.top id:red } WebView { anchors.top:red.bottom anchors.bottom:yellow

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-20 Thread Alan Alpert
On Wed, 21 Jul 2010 01:25:01 Cichowlas Bruce (Nokia-MS/Boston) wrote: > I think that I am using those "extras-devel" versions that you mentioned, > since I am using URL's such as this one to retrieve the "deb" files: > > http://repository.maemo.org/extras-devel/pool/fremantle/free/q/qt4-experime >

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-20 Thread bruce.cichowlas
I think that I am using those "extras-devel" versions that you mentioned, since I am using URL's such as this one to retrieve the "deb" files: http://repository.maemo.org/extras-devel/pool/fremantle/free/q/qt4-experimental/qt4-experimental-declarative-qmlviewer_4.7.0~git20100706-0maemo1_armel.deb

Re: [Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-19 Thread Alan Alpert
On Tue, 20 Jul 2010 09:29:35 Cichowlas Bruce (Nokia-MS/Boston) wrote: > I'm trying to run a QML only program that includes WebView (or the > examples, for that matter). Everything works until I try to display the > WebView, at which point things go black and that is the end. > > I've been install

[Qt-qml] Trying hard to get WebView to work from a QML only program on N900 with Qt 4.7

2010-07-19 Thread bruce.cichowlas
I'm trying to run a QML only program that includes WebView (or the examples, for that matter). Everything works until I try to display the WebView, at which point things go black and that is the end. I've been installing the most recent .deb files to my N900 from the qt4-experimental files at