[Interest] [SPAM] Is it safe to call qRegisterMetaType() before main()?
Hamish Moffatt
hamish at risingsoftware.com
Wed Jul 24 01:45:38 CEST 2019
On 24/7/19 12:27 am, Nikos Chantziaras wrote:
> Ugh. Having the call happen on every object creation sounds even
> uglier. It seems it's best to roll our own. Probably a lazily
> initialized global static object that you can add functors to before
> main() and then run all functors of that object in main().
Kind of like Q_COREAPP_STARTUP_FUNCTION that I mentioned?
Hamish
More information about the Interest
mailing list