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
↧