On segunda-feira, 29 de janeiro de 2018 10:49:21 PST René J. V. Bertin wrote: > This is a platform theme plugin, it uses KF5 libraries but is not a KDE > plugin. It gets loaded automatically by Qt, and apparently also unloaded > automatically. If you set a breakpoint in ~QPlatformThemePlugin you'll > probably see (like I) that you get there from > QFactoryLoaderPrivate::~QFactoryLoaderPrivate(). > > On Linux (Mac will do the same, with the equivalent platform theme plugin): [cut]
The plugins aren't unloaded when you call unload(), but they are unloaded when the application exits. There's no way to avoid that. Your crash happens after the QLibrary private global static has finished running. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest