[Qt-qml] QtWebkit, different behavior between PC and N950

Jose Manrique Lopez de la Fuente jsmanrique at gmail.com
Tue Sep 6 12:21:36 CEST 2011


Hi,

If I load the qml file in QtCreator, it says com.nokia.meego 1.0 can
not be found and Window is an unknown type...

2011/9/6  <Sergiy.Dubovik at nokia.com>:
> Launch it from command line, you should see errors. Connect to n950 from
> ssh. You also can use qtsdk and it will deploy and run for you. It should
> show errors in qtcreator.
> I guess problems are with imports. You should use import QtQuick 1.1 also.
> Br,
> Sergiy
>
> On 9/6/11 11:15 AM, "ext Jose Manrique Lopez de la Fuente"
> <jsmanrique at gmail.com> wrote:
>
>>Hi,
>>
>>I am running the following qml in my laptop and in my N950. In the
>>laptop, it works as expected. In the N950, I get a white screen.
>>
>>I have tried loading the URL site in the N950 browser, and it works as
>>expectedŠ So I am trying to guess what it¹s going wrong.
>>
>>Thank you very much and best regards
>>
>>import QtQuick 1.0
>>import QtWebKit 1.0
>>import com.nokia.meego 1.0
>>
>>Window {
>> id:rootWindow
>>
>> WebView {
>>  id: webView
>>  anchors.fill: parent
>>  width: rootWindow.width
>>  height: rootWindow.height
>>  settings.javascriptEnabled: true
>>  settings.localStorageDatabaseEnabled: true
>>  settings.offlineStorageDatabaseEnabled: true
>>  settings.offlineWebApplicationCacheEnabled: true
>>  url: 'http://www.carefy.com/AHS-Assistant/'
>> }
>>}
>>
>>--
>>J. Manrique López de la Fuente
>>http://www.jsmanrique.es
>>_______________________________________________
>>Qt-qml mailing list
>>Qt-qml at qt.nokia.com
>>http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>



-- 
J. Manrique López de la Fuente
http://www.jsmanrique.es


More information about the Qt-qml mailing list