[Qt-qml] qmlviewer plugin path on OSX

Ben Hood 0x6e6562 at gmail.com
Sat Aug 28 19:31:09 CEST 2010


Hi all,

On Fri, Aug 27, 2010 at 7:08 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
> However, when I run the qmlviewer (I've aliased the QMLViewer App in
> my sheel) from the shell, I get the error saying that PieChart is not
> a type.

I've been able to answer my own question.

My mistake was to build the project with XCode. After generating a
plain jane Makefile using

$ qmake -spec macx-g++

I was able to build using make and the symbols this produced seem to
play better with the qml interpreter and hence solved the "PieChart is
not a type" issue.

Now it is a case of just do what the manual says:

$ qmlviewer app.xml

and the qmldir descriptor will set the load path correctly.

Sorry for the noise,

Ben



More information about the Qt-qml mailing list