The errors seem to be from the same class (QDeclarativePaintedItem).

1. void QDeclarativePaintedItem::geometryChanged(class QRectF const &, class
QRectF const &)
2. class QVariant QDeclarativePaintedItem::itemChange(enum
QGraphicsItem::GraphicsItemChange, class QVariant const &)

The include for QDeclarativePaintedItem in the webkit plugin src is:
#include <private/qdeclarativepainteditem_p_p.h>

I do not know what directory "private" is and why it's in the include path.
Can anyone clarify this?

Many thanks,
Jack

On Tue, May 18, 2010 at 10:20 AM, Jack Wootton <[email protected]>wrote:

> OK, it seems webkitqmlplugin.dll is failing to build the dll, but the
> plugin files still get deployed.
>
> It fails with undefined symbol being references from this method:
>
> Full error is
>
> mwldsym2.exe: Undefined symbol: '__declspec(dllimport) void
> QDeclarativePaintedItem::geometryChanged(class QRectF const &, c
> lass QRectF const &) (__imp_?geometrychan...@qdeclarativepainteditem
> @@MAEXABVQRectF@@0...@z)'
> mwldsym2.exe: referenced from 'void
> QDeclarativeWebView::geometryChanged(class QRectF const &, class QRectF
> const &) (?geome
> trychan...@qdeclarativewebview@@MAEXABVQRectF@@0...@z)' in
> qdeclarativewebview.cpp:428
>
> mwldsym2.exe: Undefined symbol: '__declspec(dllimport) class QVariant
> QDeclarativePaintedItem::itemChange(enum QGraphicsItem
> ::GraphicsItemChange, class QVariant const &)
> (__imp_?itemcha...@qdeclarativepainteditem@@MAE?AVQVariant@
> @W4GraphicsItemChan
> g...@qgraphicsitem@@ABV2@@Z)'
> mwldsym2.exe: referenced from '@8@
> __imp_?itemcha...@qdeclarativepainteditem@@MAE?AVQVariant@
> @w4graphicsitemcha...@qgraphicsi
> tem@@ABV2@@Z' in qdeclarativewebview.o
>
> mwldsym2.exe: Undefined symbol: 'class QVariant
> QDeclarativePaintedItem::itemChange(enum QGraphicsItem::GraphicsItemChange,
> class QVariant const &) (?itemcha...@qdeclarativepainteditem
> @@MAE?AVQVariant@@w4graphicsitemcha...@qgraphicsitem@@ABV2@@Z)'
>
>
> On Tue, May 18, 2010 at 10:07 AM, Jack Wootton <[email protected]>wrote:
>
>> To add, I've had a look in V:\epoc32\release\winscw\udeb
>>
>> and expected to find webkitqmlplugin.dll but only found
>> webkitqmlplugin.lib
>>
>> Perhaps this is the problem.
>>
>>
>> On Tue, May 18, 2010 at 9:58 AM, Jack Wootton <[email protected]>wrote:
>>
>>> 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
>>>
>>
>>
>>
>> --
>> Regards
>> Jack
>>
>
>
>
> --
> Regards
> Jack
>



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

Reply via email to