go-qml / qml

QML support for the Go language
Other
1.96k stars 189 forks source link

add AddImportPath #163

Open gen2brain opened 8 years ago

gen2brain commented 8 years ago

AddImportPath adds path as a directory where the engine searches for installed modules.

If this is set to something like engine.AddImportPath("qrc:/assets") , one can copy whole Qt/QtQuick qml/ directory to assets/ and distribute everything in single binary.