aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickpaletteprovider_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Palette: fix value type providerJ-P Nurmi2018-01-101-0/+72
The static value type provider instance must be moved from the plugin (libqtquicktemplates2plugin.so) to the library (libQt5QuickTemplates2.so) to keep it alive when qmlClearTypeRegistrations() is called and the plugin is unloaded. This fixes the warning that was being thrown a lot in tst_qquickmenubar on macOS: QWARN : tst_qquickmenubar::Default::UnknownTestFunc() QQml_removeValueTypeProvider: was asked to remove provider 0x117dc97f8 but it was not found Change-Id: I4448e497672c834786af0132b6ed5f03c3931773 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>