Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

To import pulgin in qml(Qt 4.7.4)

$
0
0
What you probably need is this little piece of code: http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#addImportPath You need to do this in the main.cpp file. Or where ever you have access to the engine/viewer. Should work in 4.7.4 as well, I think. ;) For more information: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-syntax-imports.html#qml-import-path http://qt-project.org/doc/qt-5.0/qtqml/qtqml-modules-identifiedmodules.html

Viewing all articles
Browse latest Browse all 4972

Trending Articles