compiled qml components
-
Hi!
I know you can create a cutom c++ extension for QML which resides in /usr/lib/qml/....
and than import that and use in you QML program.Is it possible though to have QML components that are compiled (using qtquickcompiler thus the code is not shown) in such library?
//BlueRectangle.qml
Rectangle
{
color: "blue"
}//in your application
import Tools 1.0BlueRectangle {}
-
It's pretty complicated because in the custom component I use functions of the c++ lib part
so they contain import Tools 1.0 (which the custom components should be part of)I supposed it wouldn't be as easy...
But somehow due to some magic it simply works, thanks a lot for the suggestion!!