Qt Quick 5.0.1 Chapter 6 Example is not viewable
I am under Ubuntu 13.04
I am trying to build a QML extension and I downloaded the package qtquick1-5-examples (5.0.1) so as to see some examples.
When I try to run the chapter6 example (which in my system is located under $QT_DIR/examples/declarative/tutorials/extending/chapter6-plugins/), I get the error:
$ qmlviewer app.qml
Qml debugging is enabled. Only use this in a safe environment!
file:///usr/lib/i386-linux-gnu/qt5/examples/declarative/tutorials/extending/chapter6-plugins/app.qml:45:5: PieChart is not a type
Googling the problem came up with lots of solutions, like running qmlviewer with -I . or/and with -P . but to no avail.
Any hints appreciated.
Did you build the project first? That example interacts with C++, which must be compiled first.
Thanks a lot for the answer. The example in the package was slightly outdated, it seems.
The link that you provided me with works flawlessly :)
The only extra thing that I had to do was to install the package qtdeclarative5-qtquick2-plugin