Hi Johan,

On Thu, Jun 30, 2011 at 10:15 AM, Johan Paul <[email protected]> wrote:
>>> It should be in the same dir as the qmlwebkitplugin.dll
>>> ($QTINSTALLDIR/imports/QtWebKit). If you cannot find it, just create a
>>> file named qmldir with contents as "plugin qmlwebkitplugin".
>>
>> Thank you very much! I will test this tomorrow when I am back at the
>> office and let you know.
>
> Hi Girish,
>
> I tested copying the qmldir file to the folder where my
> qmlwebkitplugin.dll is on the machine without Qt installed. However,
> it did not change the outcome.. :-/ QML WebView is still not being
> loaded.
>
> However, this is not that surprising to me, now that I think of it.
> The machine that has Qt installed did not have the qmldir file in the
> plugin import location either, but the application could load the
> plugin successfully anyway.

That doesn't sound right. AFAIK, QML shouldn't be loading dll's
without a qmldir file. Maybe it's picking up another Qt from your
path? If you set the environment variable QML_IMPORT_TRACE=1, it
should give you lots of debug from the importing code. Can you see
what's happening there or maybe paste the output from both machines.

Girish
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to