Il 31/07/19 23:22, Nikos Chantziaras ha scritto:
static void constructor() __attribute__((constructor));
static void constructor(){
qmlRegisterType("ClassName", 1, 0, "ClassName");
}
Maybe it helps.
Thanks! I didn't know about that one.
You can do that in pure C++, by the way; just
(CC'ing the list as it might be of interest.)
I didn't think volatile would affect the linker. That might indeed work
if the llvm people think so. I'll try and run some tests when I get to it.
Thanks!
On 02/08/2019 09:54, Dmitriy Purgin wrote:
Oh, thanks, I didn't get it from the