Hello,

I'm using Qt 4.7 and Creator 2 built from src on Windows XP.
I have a subst drive (V:) which contains the Nokia N97 SDK.

I configured and built Qt for Symbian.  I can build my QML application for
debug-winscw / Symbian Emulator target from creator and it launches the
emulator.

However when the emulator starts up, it fails to load the application with
the following error:

Starting V:\epoc32\release\winscw\udeb\locator.exe...

file:///C:/Private/e71cc29a/Mainwindow.qml:2:1: plugin cannot be loaded for
module "org.webkit": The file
'C:/resource/qt/imports/org/webkit/webkitqmlplugin.qtplugin' is not a valid
Qt plugin.

import org.webkit 1.0

 ^

V:\epoc32\release\winscw\udeb\locator.exe exited with code 0

The application is locator.exe.
Mainwindow.qml contains the following import statements

import Qt 4.7
import org.webkit 1.0
import "Qml.js" as LocationLib

I have tried rebuilding WebKit as a separate component within Qt, this did
not help.  The directory V:\epoc32\winscw\c\resource\qt\imports\org\webkit
contains the following files:

qmldir
webkitqmlplugin.qtplugin

The contents of qmldir is "plugin webkitqmlplugin"
The contents of webkitqmlplugin.qtplugin is  "This file is a Qt plugin stub
file. The real Qt plugin is located in /sys/bin.
Created:2010-05-12T16:57:32"

Is there any documentation online about how imports in a QML file work, and
about qtpugin files in relation to QML?

-- 
Regards
Jack
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to