> > Should I just do it from the constructor?
That would be what I usually do. Still there's overhead of repeatedly registering the same type, so if you have a better place on hand (a root object/entry point of your application/library) that'd be better. > Would I need to worry about thread safety then, if my class was created in > a bunch of threads at the same time while this is going on? > qRegisterMetaType is thread-safe. Kind regards, Konstantin.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
