On 22/09/2010, at 5:44 PM, ext matthieu.riot...@skf.com wrote: > Thanks for useful link and advice. > > But as you well anticipated, I'm now unable to make the chapter 6 to run. > :-) > With the files as they are delivered, I've got the now usual message > "module Charts is not installed" > I had a look at the "app.qml" and "qmldir" files but everything's seems to > be ok. >
The Chapter 6 project is a C++ plugin rather than an application. To run the example, you'll need to build the C++ plugin first, and then open app.qml with the QMLViewer application. If you are using Qt Creator, I'm not sure how it handles a project with mixed plugin & QML files, but you should be able to at least use it for the first step of building the C++ plugin, if you import it as a project. > In the "app.qml" file, I tried to replace the line : > - import Charts 1.0 > By the following > - import "lib" > So that it will include the "lib" folder where the plugin is. > I'm not sure what you mean here. The chapter6-plugins/app.qml file does not contain an "import Charts 1.0" line, and it shouldn't have one, since the qmldir file is in the same directory. The projects for the other chapters do contain this line, because they are C++ application projects rather than plugins. regards, Bea _______________________________________________ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml