[SOLVED] QML Extension plugin
-
[quote author="Aleksei Mikhailichenko" date="1293358756"]i've tried example on vs2008 framework - and all works fine, but under mingw I have troubles with qml plugins loading[/quote]
Can you post the compiler error? The above error is QMLViewer error...
-
-
With turning on QML_IMPORT_TRACE i recieve this
@QDeclarativeImportDatabase::addToImport 0x10db4fec "." -1.-1 File as ""
QDeclarativeImportDatabase::add: loaded "E:/progr/Qt/4.7.0/examples/declarative/tutorials/extending/chapter6-plugins/qmldir"
QDeclarativeImportDatabase::importPlugin "E:.progr.Qt.4.7.0.examples.declarative.tutorials.extending.chapter6-plugins" from "E:/progr/Qt/4.7.0/examples/declarative/tutorials/extending/chapter6-plugins/lib/chapter6-plugins.dll"
QDeclarativeImportDatabase::addToImport 0x10db4fec "Qt" 4.7 Library as ""
QDeclarativeImportDatabase::resolveType "Item" = "QDeclarativeItem"
file:///E:/progr/Qt/4.7.0/examples/declarative/tutorials/extending/chapter6-plugins/app.qml:45:5: PieChart is not a type
PieChart {^ @
-
Strange enough!
Do you have contents (any lib, dll or something) under lib directory?
Here I have .dylib library for Mac OS.
-
Strange again.
Maybe someone who faced the issue can help us here, I will try that on the meantime on Windows.
-
[quote author="Aleksei Mikhailichenko" date="1293399772"]thnx, i will try to built 4.7 branch from gitorious and look plugin loading there[/quote]
That can work, and this is a bit an issue with not working examples, most of the developers are facing this issue which is also specified in "this article.":http://www.pluggd.in/nokia-qt-297/
-
Good to hear that! Can you mark this thread as [SOLVED] ?