[Qt-qml] How to deploy a QML app with WebView on a machine without a Qt installation?

Johan Paul johan.paul at gmail.com
Wed Jun 29 19:06:15 CEST 2011


Hi Girish!

> Did you also copy over the QtWebKit's qmldir file? (A qmldir is
> required for installed modules).

You mean the qmldir file itself? No - I did not :) Thanks for
suggesting this. Where can I find the this file on a computer with a
Qt installation?

> Also, you should be using QDeclarativeEngine::addImportPath() for
> specifying the search path for installed modules.
> QDeclarativeEngine::addPluginPath() is used to specify the search path
> for plugins specified in the qmldir file.

I actually specified both of those - just to be sure :) But that
didn't unfortunately help in my case.


Cheers,

Johan


More information about the Qt-qml mailing list