On 29/07/2019 23:50, Tomas Konir wrote:
I'm using C constructor attribute with no problems.
Code like below at each class cpp file.

static void constructor() __attribute__((constructor));
static void constructor(){
    qmlRegisterType<ClassName>("ClassName", 1, 0, "ClassName");
}

Maybe it helps.

Thanks! I didn't know about that one.
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to